public static final class CustomActionRegistrationProps.Builder
extends java.lang.Object
CustomActionRegistrationProps
Constructor and Description |
---|
Builder() |
public CustomActionRegistrationProps.Builder artifactBounds(ActionArtifactBounds artifactBounds)
CustomActionRegistrationProps.getArtifactBounds()
artifactBounds
- The artifact bounds of the Action. This parameter is required.this
public CustomActionRegistrationProps.Builder category(ActionCategory category)
CustomActionRegistrationProps.getCategory()
category
- The category of the Action. This parameter is required.this
public CustomActionRegistrationProps.Builder provider(java.lang.String provider)
CustomActionRegistrationProps.getProvider()
provider
- The provider of the Action. This parameter is required.
For example, 'MyCustomActionProvider'
this
public CustomActionRegistrationProps.Builder actionProperties(java.util.List<? extends CustomActionProperty> actionProperties)
CustomActionRegistrationProps.getActionProperties()
actionProperties
- The properties used for customizing the instance of your Action.this
public CustomActionRegistrationProps.Builder entityUrl(java.lang.String entityUrl)
CustomActionRegistrationProps.getEntityUrl()
entityUrl
- The URL shown for the entire Action in the Pipeline UI.this
public CustomActionRegistrationProps.Builder executionUrl(java.lang.String executionUrl)
CustomActionRegistrationProps.getExecutionUrl()
executionUrl
- The URL shown for a particular execution of an Action in the Pipeline UI.this
public CustomActionRegistrationProps.Builder version(java.lang.String version)
CustomActionRegistrationProps.getVersion()
version
- The version of your Action.this
public CustomActionRegistrationProps build()
CustomActionRegistrationProps
java.lang.NullPointerException
- if any required attribute was not provided