Class ActionType
- All Implemented Interfaces:
Serializable
,Cloneable
Returns information about the details of an action type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The configuration properties for the action type.getId()
The details of the input artifact for the action, such as its commit ID.The details of the output artifact of the action, such as its commit ID.The settings for the action type.int
hashCode()
void
setActionConfigurationProperties
(Collection<ActionConfigurationProperty> actionConfigurationProperties) The configuration properties for the action type.void
setId
(ActionTypeId id) void
setInputArtifactDetails
(ArtifactDetails inputArtifactDetails) The details of the input artifact for the action, such as its commit ID.void
setOutputArtifactDetails
(ArtifactDetails outputArtifactDetails) The details of the output artifact of the action, such as its commit ID.void
setSettings
(ActionTypeSettings settings) The settings for the action type.toString()
Returns a string representation of this object; useful for testing and debugging.withActionConfigurationProperties
(ActionConfigurationProperty... actionConfigurationProperties) The configuration properties for the action type.withActionConfigurationProperties
(Collection<ActionConfigurationProperty> actionConfigurationProperties) The configuration properties for the action type.withId
(ActionTypeId id) withInputArtifactDetails
(ArtifactDetails inputArtifactDetails) The details of the input artifact for the action, such as its commit ID.withOutputArtifactDetails
(ArtifactDetails outputArtifactDetails) The details of the output artifact of the action, such as its commit ID.withSettings
(ActionTypeSettings settings) The settings for the action type.
-
Constructor Details
-
ActionType
public ActionType()
-
-
Method Details
-
setId
- Parameters:
id
-
-
getId
- Returns:
-
withId
- Parameters:
id
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSettings
The settings for the action type.
- Parameters:
settings
- The settings for the action type.
-
getSettings
The settings for the action type.
- Returns:
- The settings for the action type.
-
withSettings
The settings for the action type.
- Parameters:
settings
- The settings for the action type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getActionConfigurationProperties
The configuration properties for the action type.
- Returns:
- The configuration properties for the action type.
-
setActionConfigurationProperties
public void setActionConfigurationProperties(Collection<ActionConfigurationProperty> actionConfigurationProperties) The configuration properties for the action type.
- Parameters:
actionConfigurationProperties
- The configuration properties for the action type.
-
withActionConfigurationProperties
public ActionType withActionConfigurationProperties(ActionConfigurationProperty... actionConfigurationProperties) The configuration properties for the action type.
NOTE: This method appends the values to the existing list (if any). Use
setActionConfigurationProperties(java.util.Collection)
orwithActionConfigurationProperties(java.util.Collection)
if you want to override the existing values.- Parameters:
actionConfigurationProperties
- The configuration properties for the action type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withActionConfigurationProperties
public ActionType withActionConfigurationProperties(Collection<ActionConfigurationProperty> actionConfigurationProperties) The configuration properties for the action type.
- Parameters:
actionConfigurationProperties
- The configuration properties for the action type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInputArtifactDetails
The details of the input artifact for the action, such as its commit ID.
- Parameters:
inputArtifactDetails
- The details of the input artifact for the action, such as its commit ID.
-
getInputArtifactDetails
The details of the input artifact for the action, such as its commit ID.
- Returns:
- The details of the input artifact for the action, such as its commit ID.
-
withInputArtifactDetails
The details of the input artifact for the action, such as its commit ID.
- Parameters:
inputArtifactDetails
- The details of the input artifact for the action, such as its commit ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOutputArtifactDetails
The details of the output artifact of the action, such as its commit ID.
- Parameters:
outputArtifactDetails
- The details of the output artifact of the action, such as its commit ID.
-
getOutputArtifactDetails
The details of the output artifact of the action, such as its commit ID.
- Returns:
- The details of the output artifact of the action, such as its commit ID.
-
withOutputArtifactDetails
The details of the output artifact of the action, such as its commit ID.
- Parameters:
outputArtifactDetails
- The details of the output artifact of the action, such as its commit ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-