本文整理汇总了Java中com.atlassian.jira.rest.client.domain.Transition类的典型用法代码示例。如果您正苦于以下问题:Java Transition类的具体用法?Java Transition怎么用?Java Transition使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Transition类属于com.atlassian.jira.rest.client.domain包,在下文中一共展示了Transition类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getTransitionByName
import com.atlassian.jira.rest.client.domain.Transition; //导入依赖的package包/类
private static Transition getTransitionByName(Iterable<Transition> transitions, String transitionName) {
for (Transition transition : transitions) {
if (transition.getName().equals(transitionName)) {
return transition;
}
}
return null;
}
示例2: getTransitions
import com.atlassian.jira.rest.client.domain.Transition; //导入依赖的package包/类
@Override
public Iterable<Transition> getTransitions(URI transitionsUri, ProgressMonitor progressMonitor) {
return null;
}
示例3: getTransitions
import com.atlassian.jira.rest.client.domain.Transition; //导入依赖的package包/类
private static Iterable<Transition> getTransitions (){
return getRestClient().getIssueClient().getTransitions(getIssue().getTransitionsUri(), new NullProgressMonitor());
}
示例4: getTransition
import com.atlassian.jira.rest.client.domain.Transition; //导入依赖的package包/类
private static Transition getTransition(String transitionName){
return getTransitionByName(getTransitions(), transitionName);
}