Class Property
java.lang.Object
com.jackmeng.halcyoninae.halcyon.utils.Property
A template class that holds
information on a single property.
- Since:
- 3.1
- Author:
- Jack Meng
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProperty
(String propertyName, String defaultProperty, PropertyValidator pr, String... commonProperties) -
Method Summary
Modifier and TypeMethodDescriptionstatic Property[]
filterProperties
(String nameTag, Property.PropertyFilterType type, Property... properties) A method that filters a property based on the filter type.
-
Field Details
-
propertyName
-
defaultProperty
-
pr
-
commonProperties
-
-
Constructor Details
-
Property
public Property(String propertyName, String defaultProperty, PropertyValidator pr, String... commonProperties)
-
-
Method Details
-
filterProperties
public static Property[] filterProperties(String nameTag, Property.PropertyFilterType type, Property... properties) A method that filters a property based on the filter type.- Parameters:
nameTag
- The name tag to filtertype
- The filter typeproperties
- The properties to filter- Returns:
- An array of the allowed filtered content
- Since:
- 3.2
- See Also:
-