Class AbstractPackage

java.lang.Object
com.atlan.model.packages.AbstractPackage
Direct Known Subclasses:
AbstractCrawler, AbstractMiner, ConnectionDelete

public abstract class AbstractPackage extends Object
  • Field Details

    • _prefix

      protected String _prefix
      Uniquely identifies the type of package.
    • _name

      protected String _name
      Unique name of the package, usually @atlan/something.
    • _runName

      protected String _runName
      Unique name for the run of a package.
  • Constructor Details

  • Method Details

    • getEpoch

      public static String getEpoch()
      Generate an epoch timestamp for now.
      Returns:
      the string value of the epoch timestamp
    • toWorkflow

      public Workflow toWorkflow()
      Convert the package into a workflow that can be submitted (run).
      Returns:
      the workflow representing the package
    • get_prefix

      public String get_prefix()
      Uniquely identifies the type of package.
    • get_name

      public String get_name()
      Unique name of the package, usually @atlan/something.
    • get_runName

      public String get_runName()
      Unique name for the run of a package.
    • get_labels

      public Map<String,String> get_labels()
      Labels associated with the package.
    • get_annotations

      public Map<String,String> get_annotations()
      Annotations associated with the package.
    • get_parameters

      public Map<String,String> get_parameters()
      Parameters associated with the package.
    • get_credential

      public Credential.CredentialBuilder<?,?> get_credential()
      Credentials for the package to access its source.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object