Package org.kohsuke.github
Class GHRepositoryVariable
java.lang.Object
org.kohsuke.github.GHRepositoryVariable
The type Gh repository variable.
- Author:
- garridobarrera
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AGHRepositoryVariableBuilder
that creates a newGHRepositoryVariable
static class
AGHRepositoryVariableBuilder
that updates a single property per request -
Constructor Summary
-
Method Summary
-
Constructor Details
-
GHRepositoryVariable
public GHRepositoryVariable()
-
-
Method Details
-
getUrl
Gets url.- Returns:
- the url
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name
- the name
-
getValue
Gets value.- Returns:
- the value
-
setValue
Sets value.- Parameters:
value
- the value
-
delete
Delete this variable from the repository.- Throws:
IOException
- the io exception
-
set
Begins a single property update.- Returns:
- a
GHRepositoryVariable.Setter
-
getRoot
Deprecated.For access to theGitHub
instance, use a local copy instead of pulling it out of objects.Get the rootGitHub
instance for this object.- Returns:
- the root
GitHub
instance
-
GitHub
instance, use a local copy instead of pulling it out of objects.