java.lang.Object
org.kohsuke.github.GHRepositoryVariable
The type Gh repository variable.
- Author:
- garridobarrera
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAGHRepositoryVariableBuilderthat creates a newGHRepositoryVariablestatic classAGHRepositoryVariableBuilderthat updates a single property per request -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GHRepositoryVariable
public GHRepositoryVariable()Create default GHRepositoryVariable instance
-
-
Method Details
-
delete
Delete this variable from the repository.- Throws:
IOException- the io exception
-
getName
Gets name.- Returns:
- the name
-
getUrl
Gets url.- Returns:
- the url
-
getValue
Gets value.- Returns:
- the value
-
set
Begins a single property update.- Returns:
- a
GHRepositoryVariable.Setter
-
setName
Sets name.- Parameters:
name- the name
-
setValue
Sets value.- Parameters:
value- the value
-