Package org.apache.airavata.model.appcatalog

Examples of org.apache.airavata.model.appcatalog.SCPDataMovement$SCPDataMovementStandardScheme


  public SCPDataMovement getSCPDataMovementProtocol(
      String scpDataMovementResourceId) throws InvalidRequestException,
      AiravataClientException, AiravataSystemException, TException {
    try {
      HostDescription hostDescriptor = getRegistry().getHostDescriptor(scpDataMovementResourceId);
      SCPDataMovement d = new SCPDataMovement();
      d.setDataMovementDataID(scpDataMovementResourceId);
      if (hostDescriptor.getType() instanceof GlobusHostType){
        GlobusHostType globusHostType = (GlobusHostType)hostDescriptor.getType();
        d.setSshPort(22);
      } else {
        throw new Exception("Saved job protocol is not GSISSH");
      }
      return d;
    } catch (Exception e) {
View Full Code Here

TOP

Related Classes of org.apache.airavata.model.appcatalog.SCPDataMovement$SCPDataMovementStandardScheme

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.