Examples of SetEnvPaths


Examples of org.apache.airavata.model.appcatalog.appdeployment.SetEnvPaths

        return description;
    }

    public static SetEnvPaths createEnvPath (String name,
                                             String val){
        SetEnvPaths setEnvPaths = new SetEnvPaths();
        setEnvPaths.setName(name);
        setEnvPaths.setValue(val);
        return setEnvPaths;
    }
View Full Code Here

Examples of org.apache.airavata.model.appcatalog.appdeployment.SetEnvPaths

        assertTrue("App interface saved successfully", app != null);
    }

    public SetEnvPaths createSetEnvPath (String name, String val){
        SetEnvPaths setEnvPaths = new SetEnvPaths();
        setEnvPaths.setName(name);
        setEnvPaths.setValue(val);
        return setEnvPaths;

    }
View Full Code Here

Examples of org.apache.airavata.model.appcatalog.appdeployment.SetEnvPaths

        }
        return appList;
    }

    public static SetEnvPaths getSetEnvPath(Resource resource){
        SetEnvPaths envPaths = new SetEnvPaths();
        if (resource instanceof LibraryPrepandPathResource){
            envPaths.setName(((LibraryPrepandPathResource) resource).getName());
            envPaths.setValue(((LibraryPrepandPathResource) resource).getValue());
            return envPaths;
        }else if (resource instanceof LibraryApendPathResource){
            envPaths.setName(((LibraryApendPathResource) resource).getName());
            envPaths.setValue(((LibraryApendPathResource) resource).getValue());
            return envPaths;
        }else if (resource instanceof AppEnvironmentResource){
            envPaths.setName(((AppEnvironmentResource) resource).getName());
            envPaths.setValue(((AppEnvironmentResource) resource).getValue());
            return envPaths;
        }else {
            return null;
        }
    }
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.