Class GitHubOrgMetadataAction

java.lang.Object
hudson.model.InvisibleAction
jenkins.scm.api.metadata.AvatarMetadataAction
org.jenkinsci.plugins.github_branch_source.GitHubOrgMetadataAction
All Implemented Interfaces:
Action, ModelObject, Serializable

public class GitHubOrgMetadataAction extends jenkins.scm.api.metadata.AvatarMetadataAction
Invisible AvatarMetadataAction property that retains information about GitHub organization.
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • GitHubOrgMetadataAction

      public GitHubOrgMetadataAction(@NonNull org.kohsuke.github.GHUser org) throws IOException
      Throws:
      IOException
    • GitHubOrgMetadataAction

      public GitHubOrgMetadataAction(@CheckForNull String avatar)
    • GitHubOrgMetadataAction

      public GitHubOrgMetadataAction(@NonNull GitHubOrgMetadataAction that)
  • Method Details

    • getAvatar

      @CheckForNull public String getAvatar()
    • getAvatarImageOf

      public String getAvatarImageOf(String size)
      Overrides:
      getAvatarImageOf in class jenkins.scm.api.metadata.AvatarMetadataAction
    • getAvatarIconClassName

      public String getAvatarIconClassName()
      Overrides:
      getAvatarIconClassName in class jenkins.scm.api.metadata.AvatarMetadataAction
    • getAvatarDescription

      public String getAvatarDescription()
      Overrides:
      getAvatarDescription in class jenkins.scm.api.metadata.AvatarMetadataAction
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class jenkins.scm.api.metadata.AvatarMetadataAction
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class jenkins.scm.api.metadata.AvatarMetadataAction
    • toString

      public String toString()
      Overrides:
      toString in class Object