Class SshCredentialsProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties
-
- com.atlassian.bamboo.specs.model.credentials.SshCredentialsProperties
-
- All Implemented Interfaces:
EntityProperties,RootEntityProperties
@Immutable public final class SshCredentialsProperties extends SharedCredentialsProperties
-
-
Constructor Summary
Constructors Constructor Description SshCredentialsProperties(@NotNull java.lang.String name, @Nullable BambooOidProperties oid, @NotNull java.lang.String key, @Nullable java.lang.String passphrase)SshCredentialsProperties(@NotNull java.lang.String name, @Nullable BambooOidProperties oid, @NotNull java.lang.String key, @Nullable java.lang.String passphrase, @Nullable ProjectProperties project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@NotNull AtlassianModulePropertiesgetAtlassianPlugin()@NotNull java.lang.StringgetKey()@Nullable java.lang.StringgetPassphrase()inthashCode()java.lang.StringtoString()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties
getName, getOid, getProject, humanReadableId, humanReadableType
-
-
-
-
Constructor Detail
-
SshCredentialsProperties
public SshCredentialsProperties(@NotNull @NotNull java.lang.String name, @Nullable @Nullable BambooOidProperties oid, @NotNull @NotNull java.lang.String key, @Nullable @Nullable java.lang.String passphrase) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
SshCredentialsProperties
public SshCredentialsProperties(@NotNull @NotNull java.lang.String name, @Nullable @Nullable BambooOidProperties oid, @NotNull @NotNull java.lang.String key, @Nullable @Nullable java.lang.String passphrase, @Nullable @Nullable ProjectProperties project) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classSharedCredentialsProperties
-
getKey
@NotNull public @NotNull java.lang.String getKey()
-
getPassphrase
@Nullable public @Nullable java.lang.String getPassphrase()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classSharedCredentialsProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSharedCredentialsProperties
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classSharedCredentialsProperties
-
-