Class PluginIdGenerator
java.lang.Object
eu.cloudnetservice.ext.platforminject.processor.id.PluginIdGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Collection<AllowedCharRange> private final intprivate final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionregisterRange(int indexLowerBound, char replacementChar, @NonNull CharRange... allowedChars) registerRange(int indexLowerBound, int indexUpperBound, char replacementChar, @NonNull CharRange... allowedChars) static @NonNull PluginIdGeneratorwithBoundedLength(int minLength, int maxLength) static @NonNull PluginIdGeneratorstatic @NonNull PluginIdGeneratorwithMaxLength(int maxLength) static @NonNull PluginIdGeneratorwithMinLength(int minLength)
-
Field Details
-
minLength
private final int minLength -
maxLength
private final int maxLength -
charRanges
-
-
Constructor Details
-
PluginIdGenerator
private PluginIdGenerator(int minLength, int maxLength)
-
-
Method Details
-
withInfiniteLength
-
withMaxLength
-
withMinLength
-
withBoundedLength
-
registerRange
-
registerRange
-
convert
-