Top Description Fields Constructors Methods
ch.qos.logback.core.property

public Class FileExistsPropertyDefiner

extends PropertyDefinerBase
Class Inheritance
Imports
ch.qos.logback.core.PropertyDefinerBase, ch.qos.logback.core.util.OptionHelper, java.io.File

In conjunction with ch.qos.logback.core.joran.action.PropertyAction sets the named variable to "true" if the file specified by path property exists, to "false" otherwise.
Author
Ceki Gülcü
See Also
getPropertyValue()

Field Summary

Modifier and TypeField and Description
pack-priv String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public String

Returns:

"true"|"false" depending on the existence of file
getPropertyValue
()

Implements ch.qos.logback.core.spi.PropertyDefiner.getPropertyValue.

Returns "true" if the file specified by path property exists.
public void
setPath(String path)

The path for the file to search for.

Inherited from ch.qos.logback.core.PropertyDefinerBase:
booleanAsStr

Field Detail

pathback to summary
pack-priv String path

Constructor Detail

FileExistsPropertyDefinerback to summary
public FileExistsPropertyDefiner()

Method Detail

getPathback to summary
public String getPath()
getPropertyValueback to summary
public String getPropertyValue()

Implements ch.qos.logback.core.spi.PropertyDefiner.getPropertyValue.

Returns "true" if the file specified by path property exists. Returns "false" otherwise.

Returns:String

"true"|"false" depending on the existence of file

setPathback to summary
public void setPath(String path)

The path for the file to search for.