public class FileAppenderConfigurationType extends AppenderConfigurationType implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for FileAppenderConfigurationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FileAppenderConfigurationType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AppenderConfigurationType"> <sequence> <element name="fileName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="filePattern" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="maxHistory" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="maxFileSize" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="append" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="prudent" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
append |
static QName |
COMPLEX_TYPE |
static QName |
F_APPEND |
static QName |
F_FILE_NAME |
static QName |
F_FILE_PATTERN |
static QName |
F_MAX_FILE_SIZE |
static QName |
F_MAX_HISTORY |
static QName |
F_PRUDENT |
protected String |
fileName |
protected String |
filePattern |
protected String |
maxFileSize |
protected Integer |
maxHistory |
protected Boolean |
prudent |
F_NAME, F_PATTERN, name, pattern
Constructor and Description |
---|
FileAppenderConfigurationType()
Creates a new
FileAppenderConfigurationType instance. |
FileAppenderConfigurationType(FileAppenderConfigurationType o)
Creates a new
FileAppenderConfigurationType instance by deeply copying a given FileAppenderConfigurationType instance. |
Modifier and Type | Method and Description |
---|---|
FileAppenderConfigurationType |
append(Boolean value) |
FileAppenderConfigurationType |
clone()
Creates and returns a deep copy of this object.
|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
FileAppenderConfigurationType |
fileName(String value) |
FileAppenderConfigurationType |
filePattern(String value) |
String |
getFileName()
Gets the value of the fileName property.
|
String |
getFilePattern()
Gets the value of the filePattern property.
|
String |
getMaxFileSize()
Gets the value of the maxFileSize property.
|
Integer |
getMaxHistory()
Gets the value of the maxHistory property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
Boolean |
isAppend()
Gets the value of the append property.
|
Boolean |
isPrudent()
Gets the value of the prudent property.
|
FileAppenderConfigurationType |
maxFileSize(String value) |
FileAppenderConfigurationType |
maxHistory(Integer value) |
FileAppenderConfigurationType |
name(String value) |
FileAppenderConfigurationType |
pattern(String value) |
FileAppenderConfigurationType |
prudent(Boolean value) |
void |
setAppend(Boolean value)
Sets the value of the append property.
|
void |
setFileName(String value)
Sets the value of the fileName property.
|
void |
setFilePattern(String value)
Sets the value of the filePattern property.
|
void |
setMaxFileSize(String value)
Sets the value of the maxFileSize property.
|
void |
setMaxHistory(Integer value)
Sets the value of the maxHistory property.
|
void |
setPrudent(Boolean value)
Sets the value of the prudent property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
getName, getPattern, setName, setPattern
protected String fileName
protected String filePattern
protected Integer maxHistory
protected String maxFileSize
protected Boolean append
protected Boolean prudent
public static final QName COMPLEX_TYPE
public static final QName F_FILE_NAME
public static final QName F_FILE_PATTERN
public static final QName F_MAX_HISTORY
public static final QName F_MAX_FILE_SIZE
public static final QName F_APPEND
public static final QName F_PRUDENT
public FileAppenderConfigurationType()
FileAppenderConfigurationType
instance.public FileAppenderConfigurationType(FileAppenderConfigurationType o)
FileAppenderConfigurationType
instance by deeply copying a given FileAppenderConfigurationType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public String getFileName()
String
public void setFileName(String value)
value
- allowed object is
String
public String getFilePattern()
String
public void setFilePattern(String value)
value
- allowed object is
String
public Integer getMaxHistory()
Integer
public void setMaxHistory(Integer value)
value
- allowed object is
Integer
public String getMaxFileSize()
String
public void setMaxFileSize(String value)
value
- allowed object is
String
public Boolean isAppend()
Boolean
public void setAppend(Boolean value)
value
- allowed object is
Boolean
public Boolean isPrudent()
Boolean
public void setPrudent(Boolean value)
value
- allowed object is
Boolean
public String toString()
toString
in class AppenderConfigurationType
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
hashCode
in class AppenderConfigurationType
public int hashCode()
hashCode
in class AppenderConfigurationType
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
equals
in class AppenderConfigurationType
public boolean equals(Object object)
equals
in class AppenderConfigurationType
public FileAppenderConfigurationType fileName(String value)
public FileAppenderConfigurationType filePattern(String value)
public FileAppenderConfigurationType maxHistory(Integer value)
public FileAppenderConfigurationType maxFileSize(String value)
public FileAppenderConfigurationType append(Boolean value)
public FileAppenderConfigurationType prudent(Boolean value)
public FileAppenderConfigurationType pattern(String value)
pattern
in class AppenderConfigurationType
public FileAppenderConfigurationType name(String value)
name
in class AppenderConfigurationType
public FileAppenderConfigurationType clone()
clone
in class AppenderConfigurationType
Copyright © 2017 Evolveum. All rights reserved.