public static enum DockerHubCallbackPayload.States extends Enum<DockerHubCallbackPayload.States>
Modifier and Type | Method and Description |
---|---|
static DockerHubCallbackPayload.States |
from(Result result) |
static DockerHubCallbackPayload.States |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DockerHubCallbackPayload.States[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DockerHubCallbackPayload.States success
public static final DockerHubCallbackPayload.States failure
public static final DockerHubCallbackPayload.States error
public static DockerHubCallbackPayload.States[] values()
for (DockerHubCallbackPayload.States c : DockerHubCallbackPayload.States.values()) System.out.println(c);
public static DockerHubCallbackPayload.States 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 static DockerHubCallbackPayload.States from(@Nonnull Result result)
Copyright © 2016–2022. All rights reserved.