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()
      Create default GHRepositoryVariable instance
  • 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