public class TargetInfo extends Object
Constructor and Description |
---|
TargetInfo(ProjectInfo project,
String name,
String description,
String[] dependencies,
boolean isDefault)
Create a target information
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String[] |
getDependencies()
Return the names of the targets that this target depends on.
|
String |
getDescription()
Returns the target description or
null if no description is provided. |
String |
getName()
Returns the target name.
|
ProjectInfo |
getProject()
Returns the ProjectInfo of the enclosing project.
|
int |
hashCode() |
boolean |
isDefault()
Returns whether this is the build file default target.
|
String |
toString() |
public TargetInfo(ProjectInfo project, String name, String description, String[] dependencies, boolean isDefault)
name
- target namedescription
- a brief explanation of the target's purpose or null
if not specifiedproject
- enclosing projectdependencies
- names of prerequisite projectsisDefault
- whether this is the build file default targetpublic String getName()
public String getDescription()
null
if no description is provided.null
if nonepublic ProjectInfo getProject()
public String[] getDependencies()
public boolean isDefault()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.