Package com.atlan.model.packages
Class AbstractPackage.AbstractPackageBuilder<C extends AbstractPackage,B extends AbstractPackage.AbstractPackageBuilder<C,B>>
java.lang.Object
com.atlan.model.packages.AbstractPackage.AbstractPackageBuilder<C,B>
- Direct Known Subclasses:
AbstractCrawler.AbstractCrawlerBuilder
,AbstractMiner.AbstractMinerBuilder
,ConnectionDelete.ConnectionDeleteBuilder
- Enclosing class:
- AbstractPackage
public abstract static class AbstractPackage.AbstractPackageBuilder<C extends AbstractPackage,B extends AbstractPackage.AbstractPackageBuilder<C,B>>
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription_annotation
(String _annotationKey, String _annotationValue) _annotations
(Map<? extends String, ? extends String> _annotations) _credential
(Credential.CredentialBuilder<?, ?> _credential) Credentials for the package to access its source.Unique name of the package, usually @atlan/something._parameter
(String _parameterKey, String _parameterValue) _parameters
(Map<? extends String, ? extends String> _parameters) Uniquely identifies the type of package.Unique name for the run of a package.protected B
$fillValuesFrom
(C instance) abstract C
build()
protected abstract B
metadata()
Set all the annotations, labels and common parameters specific to the crawler.protected abstract B
self()
toString()
-
Field Details
-
epoch
Unique timestamp for the crawler.
-
-
Constructor Details
-
AbstractPackageBuilder
public AbstractPackageBuilder()
-
-
Method Details
-
metadata
Set all the annotations, labels and common parameters specific to the crawler. (This will be called automatically by the 'setup' method.)- Returns:
- the builder, with all the common metadata configured
-
$fillValuesFrom
-
_prefix
Uniquely identifies the type of package.- Returns:
this
.
-
_name
Unique name of the package, usually @atlan/something.- Returns:
this
.
-
_runName
Unique name for the run of a package.- Returns:
this
.
-
_label
-
_labels
-
clear_labels
-
_annotation
-
_annotations
-
clear_annotations
-
_parameter
-
_parameters
-
clear_parameters
-
_credential
Credentials for the package to access its source.- Returns:
this
.
-
self
-
build
-
toString
-