Class Constants
Object
Constants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DateTimeFormatter
For example 2020-05-17 13:23:34.static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addInventory
(Set<Item> set, StringBuilder builder) Adds a descriptive set of the items to the string builder.static List
<PrivateItem> addInventoryForRoom
(Set<Item> set) Adds a descriptive set of the items.static <T> String
checkValidation
(T entity) static String
Returns the base file path.static String
-
Field Details
-
DEPUTIES_EMAILADDRESS
- See Also:
-
MMUD_BASE_PATH_PROPERTY
- See Also:
-
DATETIME_FORMAT
For example 2020-05-17 13:23:34.
-
-
Method Details
-
getBasepath
Returns the base file path. This property can be set as a startup parameter called "mmud.base.path". So for instance upon startup "-Dmmud.base.path=/home/payara".- Returns:
- the base file path to use.
-
getMudfilepath
-
addInventory
Adds a descriptive set of the items to the string builder.- Parameters:
set
- a set of items to be described.builder
- the builder to append to. Should not be null.
-
addInventoryForRoom
Adds a descriptive set of the items.- Parameters:
set
- a set of items to be described.- Returns:
- a list of items
-
checkValidation
- Type Parameters:
T
- generic- Parameters:
entity
- the JPA entity to check- Returns:
- description of problems with the bean, or null if all is well.
-