public enum NoOpExecutionDeploymentListener extends Enum<NoOpExecutionDeploymentListener> implements ExecutionDeploymentListener
ExecutionDeploymentListener
.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static ExecutionDeploymentListener |
get() |
void |
onCompletedDeployment(ExecutionAttemptID execution) |
void |
onStartedDeployment(ExecutionAttemptID execution,
ResourceID host) |
static NoOpExecutionDeploymentListener |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoOpExecutionDeploymentListener[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoOpExecutionDeploymentListener INSTANCE
public static NoOpExecutionDeploymentListener[] values()
for (NoOpExecutionDeploymentListener c : NoOpExecutionDeploymentListener.values()) System.out.println(c);
public static NoOpExecutionDeploymentListener 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 void onStartedDeployment(ExecutionAttemptID execution, ResourceID host)
onStartedDeployment
in interface ExecutionDeploymentListener
public void onCompletedDeployment(ExecutionAttemptID execution)
onCompletedDeployment
in interface ExecutionDeploymentListener
public static ExecutionDeploymentListener get()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.