public class Rule
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Rule.Actions |
static class |
Rule.PostFilters |
Modifier and Type | Field and Description |
---|---|
java.util.List<Action> |
action |
protected Rule.Actions |
Actions |
java.lang.String |
message |
java.util.List<Pattern> |
pattern |
java.util.List<PostFilter> |
postFilter |
protected Rule.PostFilters |
PostFilters |
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Rule.
|
static Rule |
fromString(java.lang.String s)
String representation of this Rule.
|
java.util.List<Action> |
getAction() |
Rule.Actions |
getActions() |
java.lang.String |
getMessage() |
java.util.List<Pattern> |
getPattern() |
java.util.List<PostFilter> |
getPostFilter() |
Rule.PostFilters |
getPostFilters() |
Rule |
makeCopy()
Creates and returns a deep copy of this Rule.
|
static Rule |
readFrom(java.io.InputStream is)
Read this Rule from an XML fragment.
|
void |
setActions(Rule.Actions __value) |
void |
setMessage(java.lang.String message) |
void |
setPostFilters(Rule.PostFilters __value) |
java.lang.String |
toString()
String representation of this Rule.
|
Rule |
withAction(Action... __values) |
Rule |
withAction(java.util.Collection<Action> __values) |
Rule |
withActions(Action... __values) |
Rule |
withActions(java.util.Collection<Action> __values) |
Rule |
withActions(Rule.Actions __value) |
Rule |
withMessage(java.lang.String message) |
Rule |
withPattern(java.util.Collection<Pattern> __values) |
Rule |
withPattern(Pattern... __values) |
Rule |
withPostFilter(java.util.Collection<PostFilter> __values) |
Rule |
withPostFilter(PostFilter... __values) |
Rule |
withPostFilters(java.util.Collection<PostFilter> __values) |
Rule |
withPostFilters(PostFilter... __values) |
Rule |
withPostFilters(Rule.PostFilters __value) |
void |
writeTo(java.io.OutputStream os)
Write this Rule as an XML fragment
|
public java.util.List<Pattern> pattern
public java.util.List<Action> action
protected Rule.Actions Actions
public java.util.List<PostFilter> postFilter
protected Rule.PostFilters PostFilters
public java.lang.String message
public Rule()
public Rule(Rule o)
public java.util.List<Pattern> getPattern()
public java.util.List<Action> getAction()
public Rule.Actions getActions()
public void setActions(Rule.Actions __value)
public Rule withActions(Rule.Actions __value)
public java.util.List<PostFilter> getPostFilter()
public Rule withPostFilter(PostFilter... __values)
public Rule withPostFilter(java.util.Collection<PostFilter> __values)
public Rule.PostFilters getPostFilters()
public void setPostFilters(Rule.PostFilters __value)
public Rule withPostFilters(PostFilter... __values)
public Rule withPostFilters(java.util.Collection<PostFilter> __values)
public Rule withPostFilters(Rule.PostFilters __value)
public void setMessage(java.lang.String message)
public java.lang.String getMessage()
public Rule withMessage(java.lang.String message)
public Rule makeCopy()
public static Rule readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static Rule fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.