Package cdc.issues
Class Params
- java.lang.Object
-
- cdc.issues.Params
-
public final class Params extends Object
Effective parameters.- Author:
- Damien Carbonne
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParams.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Params.Builderbuilder()booleanequals(Object object)Set<String>getNames()List<String>getSortedNames()StringgetValue(String name)StringgetValue(String name, String def)inthashCode()booleanisEmpty()StringtoString()
-
-
-
Field Detail
-
NO_PARAMS
public static final Params NO_PARAMS
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
getValue
public String getValue(String name)
- Parameters:
name- The parameter name.- Returns:
- The value of parameter named
name.
-
getValue
public String getValue(String name, String def)
- Parameters:
name- The parameter name.def- The default value.- Returns:
- The value of parameter named
nameordef.
-
builder
public static Params.Builder builder()
-
-