net.sf.tlc.model
Class Target
java.lang.Object
net.sf.tlc.model.Target
- public final class Target
- extends java.lang.Object
Immutable POJO to contain 'target' information
- Author:
- aisrael
Field Summary |
static int |
TARGET_IS_CLASS
TARGET_IS_CLASS denotes this target is a .class under a
given directory. |
static int |
TARGET_IS_JAR
TARGET_IS_JAR denotes this target is a Class inside a Jar
file. |
Constructor Summary |
Target(int targetType,
java.lang.String path,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TARGET_IS_CLASS
public static final int TARGET_IS_CLASS
TARGET_IS_CLASS
denotes this target is a .class under a
given directory.
- See Also:
- Constant Field Values
TARGET_IS_JAR
public static final int TARGET_IS_JAR
TARGET_IS_JAR
denotes this target is a Class inside a Jar
file.
- See Also:
- Constant Field Values
Target
public Target(int targetType,
java.lang.String path,
java.lang.String name)
- Parameters:
targetType
- intname
- Stringpath
- String
getTargetType
public int getTargetType()
- Returns:
- Returns the targetType.
getPath
public java.lang.String getPath()
- Returns:
- Returns the path.
getName
public java.lang.String getName()
- Returns:
- Returns the name.
toString
public java.lang.String toString()
- (non-Javadoc)
- See Also:
Object.toString()
Copyright © 2005 TheLittleContainer. All Rights Reserved.