public static class AllowedArguments.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<Integer> |
allowedUnits |
protected Cost |
costPerUnit |
Constructor and Description |
---|
AllowedArguments.Builder() |
Modifier and Type | Method and Description |
---|---|
AllowedArguments.Builder |
allowedUnits(Integer... allowedUnits) |
AllowedArguments.Builder |
allowedUnits(Set<Integer> allowedUnits) |
AllowedArguments |
build() |
AllowedArguments.Builder |
costPerUnit(Cost costPerUnit) |
AllowedArguments.Builder |
fromAllowedArgument(AllowedArguments in) |
protected Cost costPerUnit
public AllowedArguments.Builder costPerUnit(Cost costPerUnit)
AllowedArguments.getCostPerUnit()
public AllowedArguments.Builder allowedUnits(Set<Integer> allowedUnits)
AllowedArguments.getAllowedUnits()
public AllowedArguments.Builder allowedUnits(Integer... allowedUnits)
public AllowedArguments build()
public AllowedArguments.Builder fromAllowedArgument(AllowedArguments in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.