Package org.nuxeo.runtime.stream
Class LogConfigDescriptor
- java.lang.Object
-
- org.nuxeo.runtime.stream.LogConfigDescriptor
-
- All Implemented Interfaces:
Descriptor
public class LogConfigDescriptor extends Object implements Descriptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogConfigDescriptor.LogDescriptor
static class
LogConfigDescriptor.LogMatchDescriptor
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isDefault
protected boolean
isEnabled
List<LogConfigDescriptor.LogDescriptor>
logs
List<LogConfigDescriptor.LogMatchDescriptor>
matches
String
name
Map<String,String>
options
static String
SEP
String
type
-
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
-
Constructor Summary
Constructors Constructor Description LogConfigDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
The descriptor id, descriptors with same id are merged.List<String>
getPatterns()
boolean
isDefault()
boolean
isEnabled()
boolean
onlyLogDeclaration()
void
setEnabled(boolean isEnabled)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove, merge
-
-
-
-
Field Detail
-
SEP
public static final String SEP
- See Also:
- Constant Field Values
-
isEnabled
protected boolean isEnabled
-
isDefault
protected boolean isDefault
-
name
public String name
-
type
public String type
-
logs
public List<LogConfigDescriptor.LogDescriptor> logs
-
matches
public List<LogConfigDescriptor.LogMatchDescriptor> matches
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:Descriptor
The descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()
for exemple.- Specified by:
getId
in interfaceDescriptor
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean isEnabled)
-
isDefault
public boolean isDefault()
-
onlyLogDeclaration
public boolean onlyLogDeclaration()
-
-