net.sf.tlc.model
Class Target

java.lang.Object
  extended bynet.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)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getPath()
           
 int getTargetType()
           
 java.lang.String toString()
          (non-Javadoc)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

Target

public Target(int targetType,
              java.lang.String path,
              java.lang.String name)
Parameters:
targetType - int
name - String
path - String
Method Detail

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.