public class Rule
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Action> |
action |
protected java.lang.String |
message |
protected java.util.List<Pattern> |
pattern |
protected java.util.List<PostFilter> |
postFilter |
Constructor and Description |
---|
Rule()
Creates a new
Rule instance. |
Rule(Rule o)
Creates a new
Rule instance by deeply copying a given Rule instance. |
Modifier and Type | Method and Description |
---|---|
Rule |
clone()
Creates and returns a deep copy of this object.
|
java.util.List<Action> |
getAction()
Gets the value of the action property.
|
java.lang.String |
getMessage()
(default: null)
|
java.util.List<Pattern> |
getPattern()
Gets the value of the pattern property.
|
java.util.List<PostFilter> |
getPostFilter()
Gets the value of the postFilter property.
|
void |
setMessage(java.lang.String value)
Sets the value of the message property.
|
Rule |
withAction(Action... values) |
Rule |
withAction(java.util.Collection<Action> values) |
Rule |
withMessage(java.lang.String value) |
Rule |
withPattern(java.util.Collection<Pattern> values) |
Rule |
withPattern(Pattern... values) |
Rule |
withPostFilter(java.util.Collection<PostFilter> values) |
Rule |
withPostFilter(PostFilter... values) |
protected java.util.List<Pattern> pattern
protected java.util.List<PostFilter> postFilter
protected java.util.List<Action> action
protected java.lang.String message
public Rule()
Rule
instance.public Rule(Rule o)
Rule
instance by deeply copying a given Rule
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public java.util.List<Pattern> getPattern()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the pattern property.
For example, to add a new item, do as follows:
getPattern().add(newItem);
Objects of the following type(s) are allowed in the list
Query
QueryArg
Port
Path
InQuery
InPath
Or
Domain
Length
ExternKeyInside
ExternKey
Ext
Scheme
Not
Num
And
ExternKeyPrefix
Atom
Host
Url
public java.util.List<PostFilter> getPostFilter()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the postFilter property.
For example, to add a new item, do as follows:
getPostFilter().add(newItem);
Objects of the following type(s) are allowed in the list
InferredDatePostFilter
PostFilterRepetitiveTokens
CustomPostFilter
PostFilterProba
public java.util.List<Action> getAction()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the action property.
For example, to add a new item, do as follows:
getAction().add(newItem);
Objects of the following type(s) are allowed in the list
Priority
Priority
Source
ActionSetNoFollow
NoIndex
NoIndex
ActionUrlCapture
Accept
ActionSetRepetitiveTokens
Follow
ActionUrlDeleteQueryArg
DataModelClass
ActionAppendKV
Accept
NoFollow
Source
AddMeta
Index
AddMeta
ActionSetIgnore
ActionUrlDeletePathSessionId
Index
Ignore
ActionSetNoIndex
ActionUrlDeletePathToken
Follow
ActionSetKV
Ignore
NoFollow
DataModelClass
ActionUrlRegexReplace
ActionUrlAddQueryArg
ActionUrlDeleteQuerySessionId
public java.lang.String getMessage()
String
public void setMessage(java.lang.String value)
value
- allowed object is
String
public Rule withPostFilter(PostFilter... values)
public Rule withPostFilter(java.util.Collection<PostFilter> values)
public Rule withMessage(java.lang.String value)
public Rule clone()
clone
in class java.lang.Object
Copyright © 2021 Dassault Systèmes, All Rights Reserved.