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(String description, boolean enabled, String host, String username, BaseSshTaskProperties.AuthenticationType authenticationType, @Nullable String password, @Nullable String key, @Nullable String passphrase, @Nullable SharedCredentialsIdentifierProperties sharedCredentialsIdentifier, @Nullable String hostFingerprint, int port, int keepAliveIntervalInSec, String command, List<RequirementProperties> requirements, @NotNull List<? extends ConditionProperties> conditions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@NotNull AtlassianModulePropertiesgetAtlassianPlugin()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(String description, boolean enabled, String host, String username, BaseSshTaskProperties.AuthenticationType authenticationType, @Nullable @Nullable String password, @Nullable @Nullable String key, @Nullable @Nullable String passphrase, @Nullable @Nullable SharedCredentialsIdentifierProperties sharedCredentialsIdentifier, @Nullable @Nullable String hostFingerprint, int port, int keepAliveIntervalInSec, String command, List<RequirementProperties> requirements, @NotNull @NotNull List<? extends ConditionProperties> conditions) throws PropertiesValidationException
- Throws:
PropertiesValidationException
-
-
Method Detail
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classTaskProperties
-
getCommand
public 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(Object o)
- Overrides:
equalsin classBaseSshTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseSshTaskProperties
-
-