java.lang.Object
com.genologics.ri.step.StepCreation
- All Implemented Interfaces:
Serializable
A request to create a step.
- Since:
- 2.18
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StepConfigurationThe configuration for the step.protected StringThe name of the container type to be used for outputs.protected List<CreationInput>The list of input artifacts for the step.protected StringThe reagent category name. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.StepCreation(Linkable<ProtocolStep> step) Constructor taking a protocol step link.StepCreation(StepConfiguration configuration) Constructor taking the step configuration.StepCreation(ProtocolStep step) Constructor taking a protocol step. -
Method Summary
Modifier and TypeMethodDescriptionCreates and adds an input to the step.addInput(CreationInput input) Adds an input to the step.Gets the step configuration.Gets the container type name.Gets the list of input artifacts for the step.Gets the reagent category name.voidsetConfiguration(Linkable<ProtocolStep> step) Sets the step configuration from a protocol step link.voidsetConfiguration(StepConfiguration configuration) Sets the step configuration.voidsetConfiguration(ProtocolStep step) Sets the step configuration from a protocol step.voidsetContainerType(ContainerType containerType) Sets the container type from a container type object.voidsetContainerType(String containerType) Sets the container type name.voidsetReagentCategory(String reagentCategory) Sets the reagent category name.
-
Field Details
-
configuration
The configuration for the step. -
containerType
The name of the container type to be used for outputs. -
reagentCategory
The reagent category name. -
inputs
The list of input artifacts for the step.
-
-
Constructor Details
-
StepCreation
public StepCreation()Default constructor. -
StepCreation
Constructor taking the step configuration.- Parameters:
configuration- The step configuration.
-
StepCreation
Constructor taking a protocol step link.- Parameters:
step- The protocol step link.
-
StepCreation
Constructor taking a protocol step.- Parameters:
step- The protocol step.
-
-
Method Details
-
getConfiguration
Gets the step configuration.- Returns:
- The step configuration.
-
setConfiguration
Sets the step configuration.- Parameters:
configuration- The step configuration.
-
setConfiguration
Sets the step configuration from a protocol step link.- Parameters:
step- The protocol step link.
-
setConfiguration
Sets the step configuration from a protocol step.- Parameters:
step- The protocol step.
-
getContainerType
Gets the container type name.- Returns:
- The container type name.
-
setContainerType
Sets the container type name.- Parameters:
containerType- The container type name.
-
setContainerType
Sets the container type from a container type object.- Parameters:
containerType- The container type object.
-
getReagentCategory
Gets the reagent category name.- Returns:
- The reagent category name.
-
setReagentCategory
Sets the reagent category name.- Parameters:
reagentCategory- The reagent category name.
-
getInputs
Gets the list of input artifacts for the step.- Returns:
- The list of inputs.
-
addInput
Adds an input to the step.- Parameters:
input- The input to add.- Returns:
- The added input.
-
addInput
public CreationInput addInput(Linkable<Artifact> artifact, Linkable<ControlType> controlType, Long replicates) Creates and adds an input to the step.- Parameters:
artifact- The input artifact.controlType- The control type for the input, or null if not a control.replicates- The number of replicates for the input.- Returns:
- The created and added input.
-