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 classLogConfigDescriptor.LogDescriptorstatic classLogConfigDescriptor.LogMatchDescriptor
-
Field Summary
Fields Modifier and Type Field Description protected booleanisDefaultprotected booleanisEnabledList<LogConfigDescriptor.LogDescriptor>logsList<LogConfigDescriptor.LogMatchDescriptor>matchesStringnameMap<String,String>optionsstatic StringSEPStringtype-
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 StringgetId()The descriptor id, descriptors with same id are merged.List<String>getPatterns()booleanisDefault()booleanisEnabled()booleanonlyLogDeclaration()voidsetEnabled(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:DescriptorThe 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:
getIdin interfaceDescriptor
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean isEnabled)
-
isDefault
public boolean isDefault()
-
onlyLogDeclaration
public boolean onlyLogDeclaration()
-
-