Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models | |
org.gitlab4j.api.webhook |
Modifier and Type | Method and Description |
---|---|
Variable |
PipelineApi.createPipelineScheduleVariable(Object projectIdOrPath,
Integer pipelineScheduleId,
String key,
String value)
Create a pipeline schedule variable.
|
Variable |
ProjectApi.createVariable(Object projectIdOrPath,
String key,
String value,
Boolean isProtected)
Create a new project variable.
|
Variable |
GroupApi.createVariable(Object groupIdOrPath,
String key,
String value,
Boolean isProtected)
Create a new group variable.
|
Variable |
ProjectApi.createVariable(Object projectIdOrPath,
String key,
String value,
Boolean isProtected,
String environmentScope)
Create a new project variable.
|
Variable |
ProjectApi.getVariable(Object projectIdOrPath,
String key)
Get the details of a project variable.
|
Variable |
GroupApi.getVariable(Object groupIdOrPath,
String key)
Get the details of a group variable.
|
Variable |
PipelineApi.updatePipelineScheduleVariable(Object projectIdOrPath,
Integer pipelineScheduleId,
String key,
String value)
Update a pipeline schedule variable.
|
Variable |
ProjectApi.updateVariable(Object projectIdOrPath,
String key,
String value,
Boolean isProtected)
Update a project variable.
|
Variable |
GroupApi.updateVariable(Object groupIdOrPath,
String key,
String value,
Boolean isProtected)
Update a group variable.
|
Variable |
ProjectApi.updateVariable(Object projectIdOrPath,
String key,
String value,
Boolean isProtected,
String environmentScope)
Update a project variable.
|
Modifier and Type | Method and Description |
---|---|
Optional<Variable> |
ProjectApi.getOptionalVariable(Object projectIdOrPath,
String key)
Get the details of a variable as an Optional instance.
|
Optional<Variable> |
GroupApi.getOptionalVariable(Object groupIdOrPath,
String key)
Get the details of a group variable as an Optional instance.
|
List<Variable> |
ProjectApi.getVariables(Object projectIdOrPath)
Get list of a project's variables.
|
List<Variable> |
GroupApi.getVariables(Object groupIdOrPath)
Get list of a group’s variables.
|
Pager<Variable> |
ProjectApi.getVariables(Object projectIdOrPath,
int itemsPerPage)
Get a Pager of variables belonging to the specified project.
|
Pager<Variable> |
GroupApi.getVariables(Object groupIdOrPath,
int itemsPerPage)
Get a Pager of variables belonging to the specified group.
|
List<Variable> |
ProjectApi.getVariables(Object projectIdOrPath,
int page,
int perPage)
Get a list of variables for the specified project in the specified page range.
|
List<Variable> |
GroupApi.getVariables(Object groupIdOrPath,
int page,
int perPage)
Get a list of variables for the specified group in the specified page range.
|
Stream<Variable> |
ProjectApi.getVariablesStream(Object projectIdOrPath)
Get a Stream of variables belonging to the specified project.
|
Stream<Variable> |
GroupApi.getVariablesStream(Object groupIdOrPath)
Get a Stream of variables belonging to the specified group.
|
Modifier and Type | Method and Description |
---|---|
Pipeline |
PipelineApi.createPipeline(Object projectIdOrPath,
String ref,
List<Variable> variables)
Create a pipelines in a project.
|
Pipeline |
PipelineApi.triggerPipeline(Object projectIdOrPath,
String token,
String ref,
List<Variable> variables)
Trigger a pipeline for a project.
|
Pipeline |
PipelineApi.triggerPipeline(Object projectIdOrPath,
Trigger trigger,
String ref,
List<Variable> variables)
Trigger a pipeline for a project.
|
GitLabApiForm |
GitLabApiForm.withParam(List<Variable> variables)
Fluent method for adding a List<Variable> type query and form parameters to a get(), post(), or put() call.
|
Modifier and Type | Method and Description |
---|---|
static List<Variable> |
Variable.convertMapToList(Map<String,String> variables)
Create a List of Variable from the provided Map.
|
Modifier and Type | Method and Description |
---|---|
List<Variable> |
PipelineEvent.ObjectAttributes.getVariables() |
Modifier and Type | Method and Description |
---|---|
void |
PipelineEvent.ObjectAttributes.setVariables(List<Variable> variables) |
Copyright © 2019. All rights reserved.