public class LogTarget extends Object implements Serializable
A log target.
| Constructor and Description |
|---|
LogTarget() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getTargetName()
The target name.
|
String |
getTargetType()
The target type.
|
int |
hashCode() |
void |
setTargetName(String targetName)
The target name.
|
void |
setTargetType(LogTargetType targetType)
The target type.
|
void |
setTargetType(String targetType)
The target type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LogTarget |
withTargetName(String targetName)
The target name.
|
LogTarget |
withTargetType(LogTargetType targetType)
The target type.
|
LogTarget |
withTargetType(String targetType)
The target type.
|
public String getTargetType()
The target type.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
The target type.
LogTargetTypepublic void setTargetType(String targetType)
The target type.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType - The target type.
LogTargetTypepublic LogTarget withTargetType(String targetType)
The target type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType - The target type.
LogTargetTypepublic void setTargetType(LogTargetType targetType)
The target type.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType - The target type.
LogTargetTypepublic LogTarget withTargetType(LogTargetType targetType)
The target type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType - The target type.
LogTargetTypepublic String getTargetName()
The target name.
The target name.
public void setTargetName(String targetName)
The target name.
targetName - The target name.
public LogTarget withTargetName(String targetName)
The target name.
Returns a reference to this object so that method calls can be chained together.
targetName - The target name.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.