public class ActionType
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Returns information about the details of an action type.
Modifier and Type | Field and Description |
---|---|
private java.util.List<ActionConfigurationProperty> |
actionConfigurationProperties
The configuration properties for the action type.
|
private ActionTypeId |
id |
private ArtifactDetails |
inputArtifactDetails
The details of the input artifact for the action, such as its commit ID.
|
private ArtifactDetails |
outputArtifactDetails
The details of the output artifact of the action, such as its commit ID.
|
private ActionTypeSettings |
settings
The settings for the action type.
|
Constructor and Description |
---|
ActionType() |
Modifier and Type | Method and Description |
---|---|
ActionType |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ActionConfigurationProperty> |
getActionConfigurationProperties()
The configuration properties for the action type.
|
ActionTypeId |
getId() |
ArtifactDetails |
getInputArtifactDetails()
The details of the input artifact for the action, such as its commit ID.
|
ArtifactDetails |
getOutputArtifactDetails()
The details of the output artifact of the action, such as its commit ID.
|
ActionTypeSettings |
getSettings()
The settings for the action type.
|
int |
hashCode() |
void |
setActionConfigurationProperties(java.util.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActionType |
withActionConfigurationProperties(ActionConfigurationProperty... actionConfigurationProperties)
The configuration properties for the action type.
|
ActionType |
withActionConfigurationProperties(java.util.Collection<ActionConfigurationProperty> actionConfigurationProperties)
The configuration properties for the action type.
|
ActionType |
withId(ActionTypeId id) |
ActionType |
withInputArtifactDetails(ArtifactDetails inputArtifactDetails)
The details of the input artifact for the action, such as its commit ID.
|
ActionType |
withOutputArtifactDetails(ArtifactDetails outputArtifactDetails)
The details of the output artifact of the action, such as its commit ID.
|
ActionType |
withSettings(ActionTypeSettings settings)
The settings for the action type.
|
private ActionTypeId id
private ActionTypeSettings settings
The settings for the action type.
private java.util.List<ActionConfigurationProperty> actionConfigurationProperties
The configuration properties for the action type.
private ArtifactDetails inputArtifactDetails
The details of the input artifact for the action, such as its commit ID.
private ArtifactDetails outputArtifactDetails
The details of the output artifact of the action, such as its commit ID.
public void setId(ActionTypeId id)
id
- public ActionTypeId getId()
public ActionType withId(ActionTypeId id)
id
- public void setSettings(ActionTypeSettings settings)
The settings for the action type.
settings
- The settings for the action type.public ActionTypeSettings getSettings()
The settings for the action type.
public ActionType withSettings(ActionTypeSettings settings)
The settings for the action type.
settings
- The settings for the action type.public java.util.List<ActionConfigurationProperty> getActionConfigurationProperties()
The configuration properties for the action type.
public void setActionConfigurationProperties(java.util.Collection<ActionConfigurationProperty> actionConfigurationProperties)
The configuration properties for the action type.
actionConfigurationProperties
- The configuration properties for the action type.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)
or withActionConfigurationProperties(java.util.Collection)
if
you want to override the existing values.
actionConfigurationProperties
- The configuration properties for the action type.public ActionType withActionConfigurationProperties(java.util.Collection<ActionConfigurationProperty> actionConfigurationProperties)
The configuration properties for the action type.
actionConfigurationProperties
- The configuration properties for the action type.public void setInputArtifactDetails(ArtifactDetails inputArtifactDetails)
The details of the input artifact for the action, such as its commit ID.
inputArtifactDetails
- The details of the input artifact for the action, such as its
commit ID.public ArtifactDetails getInputArtifactDetails()
The details of the input artifact for the action, such as its commit ID.
public ActionType withInputArtifactDetails(ArtifactDetails inputArtifactDetails)
The details of the input artifact for the action, such as its commit ID.
inputArtifactDetails
- The details of the input artifact for the action, such as its
commit ID.public void setOutputArtifactDetails(ArtifactDetails outputArtifactDetails)
The details of the output artifact of the action, such as its commit ID.
outputArtifactDetails
- The details of the output artifact of the action, such as its
commit ID.public ArtifactDetails getOutputArtifactDetails()
The details of the output artifact of the action, such as its commit ID.
public ActionType withOutputArtifactDetails(ArtifactDetails outputArtifactDetails)
The details of the output artifact of the action, such as its commit ID.
outputArtifactDetails
- The details of the output artifact of the action, such as its
commit ID.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ActionType clone()
clone
in class java.lang.Object