public class TransformersLogger extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeWarning(PathAddress address,
org.jboss.dmr.ModelNode operation,
Set<String> attributes)
Get a warning message for the given operation at the provided address for the passed attributes
with a default message appended.
|
String |
getAttributeWarning(PathAddress address,
org.jboss.dmr.ModelNode operation,
String... attributes)
Get a warning message for the given operation at the provided address for the passed attributes
with a default message appended.
|
String |
getAttributeWarning(PathAddress address,
org.jboss.dmr.ModelNode operation,
String message,
Set<String> attributes)
Get a warning message for the given operation at the provided address for the passed attributes with the given
custom message appended.
|
static TransformersLogger |
getLogger(TransformationTarget target) |
String |
getRejectedResourceWarning(PathAddress address,
org.jboss.dmr.ModelNode operation) |
void |
logAttributeWarning(PathAddress address,
org.jboss.dmr.ModelNode operation,
String message,
Set<String> attributes)
Log a warning for the given operation at the provided address for the given attributes, using the provided detail
message.
|
void |
logAttributeWarning(PathAddress address,
org.jboss.dmr.ModelNode operation,
String message,
String attribute)
Log a warning for the given operation at the provided address for the given attribute, using the provided detail
message.
|
void |
logAttributeWarning(PathAddress address,
Set<String> attributes)
Log a warning for the resource at the provided address and the given attributes.
|
void |
logAttributeWarning(PathAddress address,
String attribute)
Log a warning for the resource at the provided address and a single attribute.
|
void |
logAttributeWarning(PathAddress address,
String message,
Set<String> attributes)
Log a warning for the resource at the provided address and the given attributes, using the provided detail
message.
|
void |
logAttributeWarning(PathAddress address,
String message,
String attribute)
Log warning for the resource at the provided address and single attribute, using the provided detail
message.
|
void |
logDiscardedResourceWarning(PathAddress address,
String host) |
void |
logRejectedResourceWarning(PathAddress address,
org.jboss.dmr.ModelNode operation) |
void |
logWarning(String message)
Log a free-form warning
|
public static TransformersLogger getLogger(TransformationTarget target)
public void logAttributeWarning(PathAddress address, String attribute)
address - where warning occurredattribute - attribute we are warning aboutpublic void logAttributeWarning(PathAddress address, Set<String> attributes)
address - where warning occurredattributes - attributes we are warning aboutpublic void logAttributeWarning(PathAddress address, String message, String attribute)
address - where warning occurredmessage - custom error message to appendattribute - attribute we are warning aboutpublic void logAttributeWarning(PathAddress address, String message, Set<String> attributes)
address - where warning occurredmessage - custom error message to appendattributes - attributes we that have problems aboutpublic void logAttributeWarning(PathAddress address, org.jboss.dmr.ModelNode operation, String message, String attribute)
address - where warning occurredoperation - where which problem occurredmessage - custom error message to appendattribute - attribute we that has problempublic void logAttributeWarning(PathAddress address, org.jboss.dmr.ModelNode operation, String message, Set<String> attributes)
address - where warning occurredoperation - where which problem occurredmessage - custom error message to appendattributes - attributes we that have problems aboutpublic String getAttributeWarning(PathAddress address, org.jboss.dmr.ModelNode operation, String message, Set<String> attributes)
OperationFailedException.address - where warning occurredoperation - where which problem occurredmessage - custom error message to appendattributes - attributes we that have problems aboutpublic String getAttributeWarning(PathAddress address, org.jboss.dmr.ModelNode operation, String... attributes)
OperationFailedException.
The default appended message is 'Attributes are not understood in the target model version and this resource
will need to be ignored on the target host.'address - where warning occurredoperation - where which problem occurredattributes - attributes we that have problems aboutpublic String getAttributeWarning(PathAddress address, org.jboss.dmr.ModelNode operation, Set<String> attributes)
address - where warning occurredoperation - where which problem occurredattributes - attributes we that have problems aboutpublic String getRejectedResourceWarning(PathAddress address, org.jboss.dmr.ModelNode operation)
public void logRejectedResourceWarning(PathAddress address, org.jboss.dmr.ModelNode operation)
public void logDiscardedResourceWarning(PathAddress address, String host)
public void logWarning(String message)
message - the warning message. Cannot be nullCopyright © 2019 JBoss by Red Hat. All rights reserved.