Class BaseSshTaskProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
- com.atlassian.bamboo.specs.model.task.BaseSshTaskProperties
-
- All Implemented Interfaces:
EntityProperties
- Direct Known Subclasses:
ScpTaskProperties,SshTaskProperties
public abstract class BaseSshTaskProperties extends TaskProperties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBaseSshTaskProperties.AuthenticationType
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_PORT
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseSshTaskProperties()BaseSshTaskProperties(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 sharedCredentialsIdentifierProperties, @Nullable java.lang.String hostFingerprint, int port, @NotNull 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)BaseSshTaskProperties.AuthenticationTypegetAuthenticationType()java.lang.StringgetHost()@Nullable java.lang.StringgetHostFingerprint()@Nullable java.lang.StringgetKey()@Nullable java.lang.StringgetPassphrase()@Nullable java.lang.StringgetPassword()intgetPort()@Nullable SharedCredentialsIdentifierPropertiesgetSharedCredentialsIdentifierProperties()java.lang.StringgetUsername()inthashCode()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getAtlassianPlugin, getConditions, getDescription, getRequirements, isEnabled, toString
-
-
-
-
Constructor Detail
-
BaseSshTaskProperties
protected BaseSshTaskProperties()
-
BaseSshTaskProperties
public BaseSshTaskProperties(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 sharedCredentialsIdentifierProperties, @Nullable @Nullable java.lang.String hostFingerprint, int port, @NotNull @NotNull java.util.List<RequirementProperties> requirements, @NotNull @NotNull java.util.List<? extends ConditionProperties> conditions) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
getHost
public java.lang.String getHost()
-
getUsername
public java.lang.String getUsername()
-
getAuthenticationType
public BaseSshTaskProperties.AuthenticationType getAuthenticationType()
-
getPassword
@Nullable public @Nullable java.lang.String getPassword()
-
getKey
@Nullable public @Nullable java.lang.String getKey()
-
getPassphrase
@Nullable public @Nullable java.lang.String getPassphrase()
-
getSharedCredentialsIdentifierProperties
@Nullable public @Nullable SharedCredentialsIdentifierProperties getSharedCredentialsIdentifierProperties()
-
getHostFingerprint
@Nullable public @Nullable java.lang.String getHostFingerprint()
-
getPort
public int getPort()
-
validate
public void validate() throws PropertiesValidationException- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classTaskProperties- Throws:
PropertiesValidationException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTaskProperties
-
-