Package psiprobe.tools.logging.commons
Class GetSingleDestinationVisitor
- java.lang.Object
-
- psiprobe.tools.logging.DefaultAccessor
-
- psiprobe.tools.logging.commons.AbstractLoggerAccessorVisitor
-
- psiprobe.tools.logging.commons.GetSingleDestinationVisitor
-
public class GetSingleDestinationVisitor extends AbstractLoggerAccessorVisitor
The Class GetSingleDestinationVisitor.
-
-
Field Summary
Fields Modifier and Type Field Description private LogDestination
destination
The destination.private String
logIndex
The log index.-
Fields inherited from class psiprobe.tools.logging.DefaultAccessor
logger
-
-
Constructor Summary
Constructors Constructor Description GetSingleDestinationVisitor(String logIndex)
Instantiates a new gets the single destination visitor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogDestination
getDestination()
Gets the destination.void
visit(Jdk14LoggerAccessor accessor)
Visit.void
visit(Log4JLoggerAccessor accessor)
Visit.-
Methods inherited from class psiprobe.tools.logging.commons.AbstractLoggerAccessorVisitor
visit
-
Methods inherited from class psiprobe.tools.logging.DefaultAccessor
getApplication, getProperty, getProperty, getTarget, getTargetClass, invokeMethod, setApplication, setTarget
-
-
-
-
Field Detail
-
logIndex
private final String logIndex
The log index.
-
destination
private LogDestination destination
The destination.
-
-
Constructor Detail
-
GetSingleDestinationVisitor
public GetSingleDestinationVisitor(String logIndex)
Instantiates a new gets the single destination visitor.- Parameters:
logIndex
- the log index
-
-
Method Detail
-
getDestination
public LogDestination getDestination()
Gets the destination.- Returns:
- the destination
-
visit
public void visit(Log4JLoggerAccessor accessor)
Description copied from class:AbstractLoggerAccessorVisitor
Visit.- Specified by:
visit
in classAbstractLoggerAccessorVisitor
- Parameters:
accessor
- the accessor
-
visit
public void visit(Jdk14LoggerAccessor accessor)
Description copied from class:AbstractLoggerAccessorVisitor
Visit.- Specified by:
visit
in classAbstractLoggerAccessorVisitor
- Parameters:
accessor
- the accessor
-
-