public class ActionType extends Object implements Serializable, Cloneable
Returns information about the details of an action type.
Constructor and Description |
---|
ActionType() |
Modifier and Type | Method and Description |
---|---|
ActionType |
clone() |
boolean |
equals(Object obj) |
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(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.
|
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(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.
|
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 List<ActionConfigurationProperty> getActionConfigurationProperties()
The configuration properties for the action type.
public void setActionConfigurationProperties(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(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 String toString()
toString
in class Object
Object.toString()
public ActionType clone()
Copyright © 2018. All rights reserved.