![JAR search and dependency download from the Maven repository](/logo.png)
net.sourceforge.plantuml.svek.ConditionStyle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.svek;
import java.util.EnumSet;
public enum ConditionStyle {
EMPTY_DIAMOND, INSIDE_HEXAGON, INSIDE_DIAMOND;
public static ConditionStyle fromString(String value) {
if ("InsideDiamond".equalsIgnoreCase(value)) {
return INSIDE_DIAMOND;
}
if ("Foo1".equalsIgnoreCase(value)) {
return INSIDE_DIAMOND;
}
if ("Diamond".equalsIgnoreCase(value)) {
return EMPTY_DIAMOND;
}
if ("Inside".equalsIgnoreCase(value)) {
return INSIDE_HEXAGON;
}
for (ConditionStyle p : EnumSet.allOf(ConditionStyle.class)) {
if (p.toString().equalsIgnoreCase(value)) {
return p;
}
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy