Package org.barfuin.gradle.taskinfo
Class TaskInfoDto
java.lang.Object
org.barfuin.gradle.taskinfo.TaskInfoDto
- All Implemented Interfaces:
Serializable,Comparable<TaskInfoDto>,org.barfuin.texttree.api.Node
public class TaskInfoDto
extends Object
implements Comparable<TaskInfoDto>, Serializable, org.barfuin.texttree.api.Node
The information we collect on a task for use by this plugin. The
path is the object identity, which is
also used for ordering.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNo-args constructor, which is intended only for JSON deserialization, not for use in a normal program.TaskInfoDto(String pPath, boolean pFinalizer) TaskInfoDto(String pPath, boolean pFinalizer, boolean pIsTaskNode, boolean pColored) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDependency(TaskInfoDto pNewDependency) intcompareTo(TaskInfoDto pOther) booleanorg.barfuin.texttree.api.color.NodeColorgetColor()getGroup()getKey()getName()getPath()intgetText()getType()inthashCode()booleanbooleanvoidsetFinalizer(boolean pFinalizer) voidvoidvoidvoidsetQueuePosition(int pQueuePosition) voidMethods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.barfuin.texttree.api.Node
getAnnotationColor
-
Constructor Details
-
TaskInfoDto
-
TaskInfoDto
-
TaskInfoDto
public TaskInfoDto()No-args constructor, which is intended only for JSON deserialization, not for use in a normal program.
-
-
Method Details
-
getName
-
setName
-
getPath
-
setPath
-
isTaskNode
public boolean isTaskNode() -
getColor
- Specified by:
getColorin interfaceorg.barfuin.texttree.api.Node
-
isFinalizer
public boolean isFinalizer() -
setFinalizer
public void setFinalizer(boolean pFinalizer) -
getGroup
-
setGroup
-
getType
-
setType
-
getQueuePosition
public int getQueuePosition() -
setQueuePosition
public void setQueuePosition(int pQueuePosition) -
getDependencies
-
addDependency
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TaskInfoDto>
-
getText
- Specified by:
getTextin interfaceorg.barfuin.texttree.api.Node
-
getKey
- Specified by:
getKeyin interfaceorg.barfuin.texttree.api.Node
-
getAnnotation
- Specified by:
getAnnotationin interfaceorg.barfuin.texttree.api.Node
-
getChildren
- Specified by:
getChildrenin interfaceorg.barfuin.texttree.api.Node
-