Class SshCredentialsProperties

java.lang.Object
com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties
com.atlassian.bamboo.specs.model.credentials.SshCredentialsProperties
All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties, com.atlassian.bamboo.specs.api.model.RootEntityProperties

@Immutable public final class SshCredentialsProperties extends com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties
  • Constructor Details

    • SshCredentialsProperties

      public SshCredentialsProperties(@NotNull @NotNull String name, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @NotNull @NotNull String key, @Nullable @Nullable String passphrase) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
    • SshCredentialsProperties

      public SshCredentialsProperties(@NotNull @NotNull String name, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @NotNull @NotNull String key, @Nullable @Nullable String passphrase, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.project.ProjectProperties project) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
  • Method Details

    • getAtlassianPlugin

      @NotNull public @NotNull com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()
      Specified by:
      getAtlassianPlugin in class com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties
    • getKey

      @NotNull public @NotNull String getKey()
    • getPassphrase

      @Nullable public @Nullable String getPassphrase()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate()
      Specified by:
      validate in interface com.atlassian.bamboo.specs.api.model.EntityProperties
      Overrides:
      validate in class com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties