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.
LogTargetType
public void setTargetType(String targetType)
The target type.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType
- The target type.
LogTargetType
public 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.
LogTargetType
public void setTargetType(LogTargetType targetType)
The target type.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType
- The target type.
LogTargetType
public 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.
LogTargetType
public 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 Object
Object.toString()
Copyright © 2019. All rights reserved.