com.atlassian.jira.rest.client.domain.input
Class TransitionInput

java.lang.Object
  extended by com.atlassian.jira.rest.client.domain.input.TransitionInput

public class TransitionInput
extends Object

Input data used while transitioning an issue including new values for this issue and the optional comment.

Since:
v0.1

Constructor Summary
TransitionInput(int id)
           
TransitionInput(int id, Collection<FieldInput> fields)
           
TransitionInput(int id, Collection<FieldInput> fields, Comment comment)
           
TransitionInput(int id, Comment comment)
           
 
Method Summary
 Comment getComment()
           
 Iterable<FieldInput> getFields()
           
 int getId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransitionInput

public TransitionInput(int id,
                       Collection<FieldInput> fields)
Parameters:
id - id of the issue transition which should be performed
fields - new values for the issue fields. Use empty collection if no fields are to be changed

TransitionInput

public TransitionInput(int id,
                       Collection<FieldInput> fields,
                       @Nullable
                       Comment comment)
Parameters:
id - id of the issue transition which should be performed
fields - new values for the issue fields. Use empty collection if no fields are to be changed
comment - optional comment

TransitionInput

public TransitionInput(int id,
                       @Nullable
                       Comment comment)
Parameters:
id - id of the issue transition which should be performed
comment - optional comment

TransitionInput

public TransitionInput(int id)
Method Detail

getId

public int getId()
Returns:
id of the issue transition which should be performed

getComment

@Nullable
public Comment getComment()

getFields

public Iterable<FieldInput> getFields()


Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.