Package | Description |
---|---|
org.apache.twill.api |
Classes in this package provides core functionality of the Twill library.
|
Modifier and Type | Method and Description |
---|---|
TwillSpecification.PlacementPolicy.Type |
TwillSpecification.PlacementPolicy.getType() |
static TwillSpecification.PlacementPolicy.Type |
TwillSpecification.PlacementPolicy.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TwillSpecification.PlacementPolicy.Type[] |
TwillSpecification.PlacementPolicy.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
TwillSpecification.Builder.PlacementPolicySetter |
TwillSpecification.Builder.MorePlacementPolicies.add(TwillSpecification.PlacementPolicy.Type type,
String runnableName,
String... runnableNames)
Specify a placement policy for a list of runnables.
|
TwillSpecification.Builder.PlacementPolicySetter |
TwillSpecification.Builder.PlacementPolicySetter.add(TwillSpecification.PlacementPolicy.Type type,
String runnableName,
String... runnableNames) |
Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.