java.lang.Object
com.genologics.ri.step.Pools
- All Implemented Interfaces:
Linkable<Pools>,Locatable,Serializable
The detailed representation of a step's pooled inputs.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of available input artifacts that can be pooled.protected StepConfigurationThe configuration for this step.protected List<PooledInputs>The list of pooled input groups.protected LinkThe link to the step.protected URIThe URI of this pools resource. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAvailableInput(Linkable<Artifact> artifact) Creates and adds an available input from an artifact.addAvailableInput(Input input) Adds an available input artifact.addPooledInputs(PooledInputs inputs) Adds a pooled input group.addPooledInputs(Collection<? extends Linkable<Artifact>> inputArtifacts, String poolName, Linkable<Artifact> outputArtifact) Creates and adds a pooled input group.Gets the list of available input artifacts.Gets the step configuration.getLink()Get a concrete link object to thisLinkablething.Gets the list of pooled input groups.getStep()Gets the link to the step.getUri()Gets the URI of this pools resource.voidsetConfiguration(StepConfiguration configuration) Sets the step configuration.voidSets the link to the step.voidSets the URI of this pools resource.
-
Field Details
-
step
The link to the step. -
configuration
The configuration for this step. -
pooledInputs
The list of pooled input groups. -
availableInputs
The list of available input artifacts that can be pooled. -
uri
The URI of this pools resource.
-
-
Constructor Details
-
Pools
public Pools()Default constructor. -
Pools
Constructor with URI.- Parameters:
uri- The URI of this pools resource.
-
-
Method Details
-
getStep
Gets the link to the step.- Returns:
- The step link.
-
setStep
Sets the link to the step.- Parameters:
step- The step link to set.
-
getConfiguration
Gets the step configuration.- Returns:
- The step configuration.
-
setConfiguration
Sets the step configuration.- Parameters:
configuration- The configuration to set.
-
getUri
Gets the URI of this pools resource. -
setUri
Sets the URI of this pools resource. -
getPooledInputs
Gets the list of pooled input groups. Creates the list if it doesn't exist.- Returns:
- The list of pooled inputs.
-
addPooledInputs
Adds a pooled input group.- Parameters:
inputs- The pooled inputs to add.- Returns:
- The added pooled inputs.
-
addPooledInputs
public PooledInputs addPooledInputs(Collection<? extends Linkable<Artifact>> inputArtifacts, String poolName, Linkable<Artifact> outputArtifact) Creates and adds a pooled input group.- Parameters:
inputArtifacts- The collection of input artifacts to pool.poolName- The name of the pool.outputArtifact- The output artifact created from this pool.- Returns:
- The created pooled inputs.
-
getAvailableInputs
Gets the list of available input artifacts. Creates the list if it doesn't exist.- Returns:
- The list of available inputs.
-
addAvailableInput
Adds an available input artifact.- Parameters:
input- The input to add.- Returns:
- The added input.
-
addAvailableInput
Creates and adds an available input from an artifact.- Parameters:
artifact- The artifact to add as an available input.- Returns:
- The created input.
-
getLink
Get a concrete link object to thisLinkablething.
-