| Package | Description |
|---|---|
| org.jenkinsci.plugins.pipeline.modeldefinition.agent |
| Modifier and Type | Method and Description |
|---|---|
static DeclarativeAgentDescriptor |
DeclarativeAgentDescriptor.byName(String name)
Get the descriptor for a given name or null if not found.
|
DeclarativeAgentDescriptor |
DeclarativeAgent.getDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.ExtensionList<DeclarativeAgentDescriptor> |
DeclarativeAgentDescriptor.all()
Get all
DeclarativeAgentDescriptors. |
static List<DeclarativeAgentDescriptor> |
DeclarativeAgentDescriptor.allSorted()
Get all
DeclarativeAgentDescriptors, sorted by name. |
| Modifier and Type | Method and Description |
|---|---|
static DeclarativeAgent<?> |
DeclarativeAgentDescriptor.instanceForDescriptor(DeclarativeAgentDescriptor<?> descriptor,
Map<String,Object> arguments)
For a given descriptor and map of arguments, return an instance using those arguments.
|
Copyright © 2016–2020. All rights reserved.