Class GHRepositoryVariable


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

      • GHRepositoryVariable

        public GHRepositoryVariable()
    • Method Detail

      • 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
      • 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