Class 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 Summary

      Constructors 
      Constructor Description
      SshCredentialsProperties​(@NotNull java.lang.String name, @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @NotNull java.lang.String key, @Nullable java.lang.String passphrase)  
      SshCredentialsProperties​(@NotNull java.lang.String name, @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @NotNull java.lang.String key, @Nullable java.lang.String passphrase, @Nullable com.atlassian.bamboo.specs.api.model.project.ProjectProperties project)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      @NotNull com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()  
      @NotNull java.lang.String getKey()  
      @Nullable java.lang.String getPassphrase()  
      int hashCode()  
      java.lang.String toString()  
      void validate()  
      • Methods inherited from class com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties

        getName, getOid, getProject, humanReadableId, humanReadableType
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SshCredentialsProperties

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

        public SshCredentialsProperties​(@NotNull
                                        @NotNull java.lang.String name,
                                        @Nullable
                                        @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid,
                                        @NotNull
                                        @NotNull java.lang.String key,
                                        @Nullable
                                        @Nullable java.lang.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 Detail

      • 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 java.lang.String getKey()
      • getPassphrase

        @Nullable
        public @Nullable java.lang.String getPassphrase()
      • equals

        public boolean equals​(java.lang.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 java.lang.String toString()
        Overrides:
        toString in class java.lang.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