public enum UpdateResourceMessage extends Enum<UpdateResourceMessage>
Enum Constant and Description |
---|
CANNOT_GET_SESSION |
EXISTS_BUT_DIFFERENT_CONTENT |
EXISTS_JCR_AND_SAME_CONTENT |
NODE_RENAMED |
REFERENCE_UPDATED |
RESOURCE_NOT_FOUND_CLASSPATH |
RESOURCE_NOT_FOUND_JCR |
Modifier and Type | Method and Description |
---|---|
String |
generateMessage(List<String[]> paramsList) |
info.magnolia.module.resources.setup.UpdateResourceMessage.MessagePriority |
getPriority() |
static void |
logMessages(info.magnolia.module.InstallContext installContext,
org.slf4j.Logger logger,
com.google.common.collect.ListMultimap<UpdateResourceMessage,String[]> messages) |
static UpdateResourceMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateResourceMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateResourceMessage NODE_RENAMED
public static final UpdateResourceMessage EXISTS_JCR_AND_SAME_CONTENT
public static final UpdateResourceMessage EXISTS_BUT_DIFFERENT_CONTENT
public static final UpdateResourceMessage RESOURCE_NOT_FOUND_JCR
public static final UpdateResourceMessage RESOURCE_NOT_FOUND_CLASSPATH
public static final UpdateResourceMessage REFERENCE_UPDATED
public static final UpdateResourceMessage CANNOT_GET_SESSION
public static UpdateResourceMessage[] values()
for (UpdateResourceMessage c : UpdateResourceMessage.values()) System.out.println(c);
public static UpdateResourceMessage valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic info.magnolia.module.resources.setup.UpdateResourceMessage.MessagePriority getPriority()
public static void logMessages(info.magnolia.module.InstallContext installContext, org.slf4j.Logger logger, com.google.common.collect.ListMultimap<UpdateResourceMessage,String[]> messages)
Copyright © 2016 Magnolia International Ltd.. All rights reserved.