Package com.streambase.sb.operator
Class Operator.ArtifactProperties
java.lang.Object
com.streambase.sb.operator.Operator.ArtifactProperties
- Enclosing class:
- Operator
For operators supporting Artifacts, this class is used to communicate properties
about them during development in Studio, and is reported to the operator
immediately prior to
Operator.typecheck()
along with all other setters.- Since:
- 10.2 initial release
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
getPath()
Get artifact pathfinal String
Get project namefinal String
Get versionfinal boolean
Load artifact at start-up?setLoadAtStartup
(boolean loadAtStartup) Set load at startupSet artifact pathsetProjectName
(String projectName) Set project namesetVersion
(String version) Set version
-
Constructor Details
-
ArtifactProperties
public ArtifactProperties()
-
-
Method Details
-
getProjectName
Get project name- Returns:
- the project name, never null (but might be invalid)
-
setProjectName
Set project name- Parameters:
projectName
- Project name- Returns:
- Updated properties
-
getPath
Get artifact path- Returns:
- the artifact path, never null (but might be invalid)
-
setPath
Set artifact path- Parameters:
path
- Artifact path- Returns:
- Update properties
-
getVersion
Get version- Returns:
- the version, never null (but might be invalid)
-
setVersion
Set version- Parameters:
version
- Version- Returns:
- Update properties
-
isLoadAtStartup
public final boolean isLoadAtStartup()Load artifact at start-up?Default value is true.
- Returns:
- whether requesting the artifact to be loaded at startup or not
-
setLoadAtStartup
Set load at startup- Parameters:
loadAtStartup
- true to load at start-up, false otherwise- Returns:
- Updated properties
-