Package net.sf.redmine_mylyn.core

Examples of net.sf.redmine_mylyn.core.RedmineOperation


   
   
    /* Operations */
    taskAttribute = root.getMappedAttribute(TaskAttribute.OPERATION);
    if (taskAttribute != null) {
      RedmineOperation redmineOperation = RedmineOperation.fromTaskKey(taskAttribute.getValue());
      taskAttribute = root.getAttribute(TaskAttribute.PREFIX_OPERATION + taskAttribute.getValue());
     
      if(redmineOperation!=null && taskAttribute!=null) {
        String value = null;
       
        if(redmineOperation.isAssociated()) {
          taskAttribute = root.getAttribute(redmineOperation.getInputId());
          if(taskAttribute!=null) {
            value = taskAttribute.getValue();
          }
        } else if(redmineOperation.needsRestoreValue()) {
          value = taskAttribute.getMetaData().getValue(IRedmineConstants.TASK_ATTRIBUTE_OPERATION_RESTORE);
        }
       
        if(value!=null) {
          RedmineAttribute redmineAttribute = RedmineAttribute.fromTaskKey(redmineOperation.getInputId());
          setProperty(redmineAttribute, root, issue);
        }
      }
    }
   
View Full Code Here

TOP

Related Classes of net.sf.redmine_mylyn.core.RedmineOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.