public abstract class PayloadBase extends Object implements Serializable
Constructor and Description |
---|
PayloadBase()
Construct matcher object.
|
PayloadBase(String input,
Event e,
com.mozilla.secops.parser.ParserState state)
Construct parser object.
|
Modifier and Type | Method and Description |
---|---|
Integer |
eventIntegerValue(EventFilterPayload.IntegerProperty property)
Return a given Integer payload field value based on the supplied field identifier
|
String |
eventStringValue(EventFilterPayload.StringProperty property)
Return a given String payload field value based on the supplied field identifier
|
Payload.PayloadType |
getType()
Get payload type.
|
Boolean |
matcher(String input,
com.mozilla.secops.parser.ParserState state)
Apply matcher.
|
public Boolean matcher(String input, com.mozilla.secops.parser.ParserState state)
input
- Input string.state
- ParserStatepublic Payload.PayloadType getType()
Payload.PayloadType
public String eventStringValue(EventFilterPayload.StringProperty property)
property
- EventFilterPayload.StringProperty
public Integer eventIntegerValue(EventFilterPayload.IntegerProperty property)
property
- EventFilterPayload.IntegerProperty
Copyright © 2022. All rights reserved.