コード例 #1
0
public static function getDataMovementDetails( $dataMovementInterfaceId, $dmi){
    //jsp = job submission protocol type
    if( $dmi == DataMovementProtocol::LOCAL)
        return Airavata::getLocalDataMovement( $dataMovementInterfaceId);
    else if( $dmi == DataMovementProtocol::SCP)
        return Airavata::getSCPDataMovement( $dataMovementInterfaceId);
    else if( $dmi == DataMovementProtocol::GridFTP)
        return Airavata::getGridFTPDataMovement( $dataMovementInterfaceId);
    else if( $dmi == DataMovementProtocol::UNICORE_STORAGE_SERVICE)
        return Airavata::getUnicoreDataMovement( $dataMovementInterfaceId);
    /*
    else if( $dmi == JobSubmissionProtocol::CLOUD)
        return $airavataclient->getCloudJobSubmission( $dataMovementInterfaceId);
    */

    //globus get function not present ??
}