Package org.globus.gram

Examples of org.globus.gram.GramAttributes.addArgument()


                    for (String value : values) {
                        jobAttr.addArgument(value);
                    }
                } else {
                    String paramValue = input.getStringValue(paramName);
                    jobAttr.addArgument(paramValue);
                }
            }
        }
        // Using the workflowContext Header values if user provided them in the request and overwrite the default values in DD
        ContextHeaderDocument.ContextHeader currentContextHeader = WorkflowContextHeaderBuilder.getCurrentContextHeader();
View Full Code Here


                        values = ((StringArrayType) actualParameter.getType()).getValueArray();
                    } else if (actualParameter.getType() instanceof FileArrayType) {
                        values = ((FileArrayType) actualParameter.getType()).getValueArray();
                    }
                    String value = StringUtil.createDelimiteredString(values, " ");
                    jobAttr.addArgument(value);
                } else {
                    String paramValue = MappingFactory.toString(actualParameter);
                    jobAttr.addArgument(paramValue);
                }
            }
View Full Code Here

                    }
                    String value = StringUtil.createDelimiteredString(values, " ");
                    jobAttr.addArgument(value);
                } else {
                    String paramValue = MappingFactory.toString(actualParameter);
                    jobAttr.addArgument(paramValue);
                }
            }
        }
        // Using the workflowContext Header values if user provided them in the request and overwrite the default values in DD
        //todo finish the scheduling based on workflow execution context
View Full Code Here

            jobAttr.setStdin(app.getStandardInput());
        } else {
            // input parameter
            for (Iterator<String> iterator = context.getInput().getNames(); iterator.hasNext();) {
                String key = iterator.next();
                jobAttr.addArgument(context.getInput().getStringValue(key));
            }
        }

        if (app.getNodeCount() > 1) {
            jobAttr.set("hostCount", String.valueOf(app.getNodeCount()));
View Full Code Here

            jobAttr.setStdin(app.getStandardInput());
        } else {
            // input parameter
            for (Iterator<String> iterator = context.getInput().getNames(); iterator.hasNext();) {
                String key = iterator.next();
                jobAttr.addArgument(context.getInput().getStringValue(key));
            }
        }
        // Using the workflowContext Header values if user provided them in the request and overwrite the default values in DD
        ContextHeaderDocument.ContextHeader currentContextHeader = WorkflowContextHeaderBuilder.getCurrentContextHeader();
        if (currentContextHeader.getWorkflowSchedulingContext().getApplicationSchedulingContextArray() != null &&
View Full Code Here

                        values = ((StringArrayType) actualParameter.getType()).getValueArray();
                    } else if (actualParameter.getType() instanceof FileArrayType) {
                        values = ((FileArrayType) actualParameter.getType()).getValueArray();
                    }
                    String value = StringUtil.createDelimiteredString(values, " ");
                    jobAttr.addArgument(value);
                } else {
                    String paramValue = MappingFactory.toString(actualParameter);
                    jobAttr.addArgument(paramValue);
                }
            }
View Full Code Here

                    }
                    String value = StringUtil.createDelimiteredString(values, " ");
                    jobAttr.addArgument(value);
                } else {
                    String paramValue = MappingFactory.toString(actualParameter);
                    jobAttr.addArgument(paramValue);
                }
            }
        }
        // Using the workflowContext Header values if user provided them in the request and overwrite the default values in DD
        //todo finish the scheduling based on workflow execution context
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.