@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public abstract class ServerScope extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerScope.Build |
static class |
ServerScope.Node
Server is scoped to Jenkins node of the name equal to the specifier.
|
static class |
ServerScope.Time |
Modifier and Type | Field and Description |
---|---|
static String |
METADATA_KEY
Name of the openstack metadata key
|
protected String |
name |
protected String |
specifier |
Modifier and Type | Method and Description |
---|---|
protected boolean |
_equals(ServerScope o)
Contribute additional criteria for equality.
|
boolean |
equals(Object o) |
String |
getValue()
Get Metadata value that represent this scope.
|
int |
hashCode() |
abstract boolean |
isOutOfScope()
Determine whether the server is out of scope or not.
|
static ServerScope |
parse(String scope) |
String |
toString() |
public static final String METADATA_KEY
public static ServerScope parse(String scope) throws IllegalArgumentException
IllegalArgumentException
public String getValue()
protected boolean _equals(ServerScope o)
public abstract boolean isOutOfScope()
Copyright © 2016–2017. All rights reserved.