Class GHRepositoryVariable

java.lang.Object
org.kohsuke.github.GHRepositoryVariable

public class GHRepositoryVariable extends Object
The type Gh repository variable.
Author:
garridobarrera
  • Constructor Details

    • GHRepositoryVariable

      public GHRepositoryVariable()
  • Method Details

    • getUrl

      @Nonnull public String getUrl()
      Gets url.
      Returns:
      the url
    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets name.
      Parameters:
      name - the name
    • getValue

      public String getValue()
      Gets value.
      Returns:
      the value
    • setValue

      public void setValue(String value)
      Sets value.
      Parameters:
      value - the value
    • delete

      public void delete() throws IOException
      Delete this variable from the repository.
      Throws:
      IOException - the io exception
    • set

      Begins a single property update.
      Returns:
      a GHRepositoryVariable.Setter
    • getRoot

      @Deprecated public GitHub getRoot()
      Deprecated.
      For access to the GitHub instance, use a local copy instead of pulling it out of objects.
      Get the root GitHub instance for this object.
      Returns:
      the root GitHub instance