public enum RemoteImageNameStrategy extends Enum<RemoteImageNameStrategy>
Enum Constant and Description |
---|
DO_NOT_USE |
FIXED |
GENERATE_GIT |
Modifier and Type | Method and Description |
---|---|
Image |
getRemoteImage(PushConfig config,
SpoonBuild build,
hudson.model.BuildListener buildListener) |
protected abstract com.google.common.base.Optional<Image> |
tryGetRemoteImage(PushConfig pushConfig,
SpoonBuild build,
hudson.model.BuildListener buildListener) |
protected void |
validate(PushConfig pushConfig,
SpoonBuild build) |
static RemoteImageNameStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoteImageNameStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemoteImageNameStrategy DO_NOT_USE
public static final RemoteImageNameStrategy GENERATE_GIT
public static final RemoteImageNameStrategy FIXED
public static RemoteImageNameStrategy[] values()
for (RemoteImageNameStrategy c : RemoteImageNameStrategy.values()) System.out.println(c);
public static RemoteImageNameStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Image getRemoteImage(PushConfig config, SpoonBuild build, hudson.model.BuildListener buildListener)
protected void validate(PushConfig pushConfig, SpoonBuild build)
protected abstract com.google.common.base.Optional<Image> tryGetRemoteImage(PushConfig pushConfig, SpoonBuild build, hudson.model.BuildListener buildListener)
Copyright © 2004-2016. All Rights Reserved.