public static enum BranchingPolicy.BranchNameTransformations extends Enum<BranchingPolicy.BranchNameTransformations> implements java.util.function.Function<String,String>
| Enum Constant and Description |
|---|
IDENTITY |
IGNORE |
LOWERCASE |
LOWERCASE_EN |
REMOVE_UNEXPECTED_CHARS |
REPLACE_UNEXPECTED_CHARS_UNDERSCORE |
UPPERCASE |
UPPERCASE_EN |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String branch) |
static BranchingPolicy.BranchNameTransformations |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BranchingPolicy.BranchNameTransformations[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfandThen, compose, identitypublic static final BranchingPolicy.BranchNameTransformations IDENTITY
public static final BranchingPolicy.BranchNameTransformations REMOVE_UNEXPECTED_CHARS
public static final BranchingPolicy.BranchNameTransformations REPLACE_UNEXPECTED_CHARS_UNDERSCORE
public static final BranchingPolicy.BranchNameTransformations UPPERCASE
public static final BranchingPolicy.BranchNameTransformations LOWERCASE
public static final BranchingPolicy.BranchNameTransformations UPPERCASE_EN
public static final BranchingPolicy.BranchNameTransformations LOWERCASE_EN
public static final BranchingPolicy.BranchNameTransformations IGNORE
public static BranchingPolicy.BranchNameTransformations[] values()
for (BranchingPolicy.BranchNameTransformations c : BranchingPolicy.BranchNameTransformations.values()) System.out.println(c);
public static BranchingPolicy.BranchNameTransformations 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 String apply(String branch)
apply in interface java.util.function.Function<String,String>Copyright © 2016–2018 Matthieu Brouillard. All rights reserved.