Skip to content

Instantly share code, notes, and snippets.

@tassioauad tassioauad/Property.java
Last active Apr 10, 2018

Embed
What would you like to do?
public class Property {
private PropertyType type;
public PropertyType getType() {
return type;
}
}
public enum PropertyType {
SYSTEM_PROPERTY(0), SYSTEM_ENVYRONMENT(1) ,APPLICATION_CONFIGURATION(2);
private int value;
PropertyType(int value) {
this.value = value;
}
}
{"type": "SYSTEM_PROPERTY"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.