Class SshTaskProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
- com.atlassian.bamboo.specs.model.task.BaseSshTaskProperties
-
- com.atlassian.bamboo.specs.model.task.SshTaskProperties
-
- All Implemented Interfaces:
EntityProperties
@Immutable public class SshTaskProperties extends BaseSshTaskProperties
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.bamboo.specs.model.task.BaseSshTaskProperties
BaseSshTaskProperties.AuthenticationType
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_KEEP_ALIVE_INTERVAL-
Fields inherited from class com.atlassian.bamboo.specs.model.task.BaseSshTaskProperties
DEFAULT_PORT
-
-
Constructor Summary
Constructors Constructor Description SshTaskProperties(java.lang.String description, boolean enabled, java.lang.String host, java.lang.String username, BaseSshTaskProperties.AuthenticationType authenticationType, @Nullable java.lang.String password, @Nullable java.lang.String key, @Nullable java.lang.String passphrase, @Nullable SharedCredentialsIdentifierProperties sharedCredentialsIdentifier, @Nullable java.lang.String hostFingerprint, int port, int keepAliveIntervalInSec, java.lang.String command, java.util.List<RequirementProperties> requirements, @NotNull java.util.List<? extends ConditionProperties> conditions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@NotNull AtlassianModulePropertiesgetAtlassianPlugin()java.lang.StringgetCommand()intgetKeepAliveIntervalInSec()inthashCode()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.model.task.BaseSshTaskProperties
getAuthenticationType, getHost, getHostFingerprint, getKey, getPassphrase, getPassword, getPort, getSharedCredentialsIdentifierProperties, getUsername
-
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
-
-
-
-
Constructor Detail
-
SshTaskProperties
public SshTaskProperties(java.lang.String description, boolean enabled, java.lang.String host, java.lang.String username, BaseSshTaskProperties.AuthenticationType authenticationType, @Nullable @Nullable java.lang.String password, @Nullable @Nullable java.lang.String key, @Nullable @Nullable java.lang.String passphrase, @Nullable @Nullable SharedCredentialsIdentifierProperties sharedCredentialsIdentifier, @Nullable @Nullable java.lang.String hostFingerprint, int port, int keepAliveIntervalInSec, java.lang.String command, java.util.List<RequirementProperties> requirements, @NotNull @NotNull java.util.List<? extends ConditionProperties> conditions) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classTaskProperties
-
getCommand
public java.lang.String getCommand()
-
getKeepAliveIntervalInSec
public int getKeepAliveIntervalInSec()
-
validate
public void validate() throws PropertiesValidationException- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classBaseSshTaskProperties- Throws:
PropertiesValidationException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classBaseSshTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseSshTaskProperties
-
-