net.rcarz.jiraclient
Class Issue.FluentTransition

java.lang.Object
  extended by net.rcarz.jiraclient.Issue.FluentTransition
Enclosing class:
Issue

public final class Issue.FluentTransition
extends Object

Used to chain fields to a transition action.


Method Summary
 void execute(int id)
          Executes the transition action.
 void execute(String name)
          Executes the transition action.
 Issue.FluentTransition field(String name, Object value)
          Appends a field to the transition action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public void execute(int id)
             throws JiraException
Executes the transition action.

Parameters:
id - Internal transition ID
Throws:
JiraException - when the transition fails

execute

public void execute(String name)
             throws JiraException
Executes the transition action.

Parameters:
name - Transition name
Throws:
JiraException - when the transition fails

field

public Issue.FluentTransition field(String name,
                                    Object value)
Appends a field to the transition action.

Parameters:
name - Name of the field
value - New field value
Returns:
the current fluent transition instance


Copyright © 2013. All Rights Reserved.