public class TargetInfo
extends java.lang.Object
| Constructor and Description |
|---|
TargetInfo(ProjectInfo project,
java.lang.String name,
java.lang.String description,
java.lang.String[] dependencies,
boolean isDefault)
Create a target information
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String[] |
getDependencies()
Return the names of the targets that this target depends on.
|
java.lang.String |
getDescription()
Returns the target description or
null if no description is provided. |
java.lang.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.
|
java.lang.String |
toString() |
public TargetInfo(ProjectInfo project, java.lang.String name, java.lang.String description, java.lang.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 java.lang.String getName()
public java.lang.String getDescription()
null if no description is provided.null if nonepublic ProjectInfo getProject()
public java.lang.String[] getDependencies()
public boolean isDefault()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.