net.kwfgrid.gwes.client
Class GWESClient
java.lang.Object
net.kwfgrid.gwes.client.GWESClient
public class GWESClient
- extends Object
- Version:
- $Id: GWESClient.java 1537 2011-07-27 15:34:04Z hoheisel $
- Author:
- Andreas Hoheisel
(www.andreas-hoheisel.de)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMAND_INITIATE
public static final int COMMAND_INITIATE
- See Also:
- Constant Field Values
COMMAND_INITIATE_START
public static final int COMMAND_INITIATE_START
- See Also:
- Constant Field Values
COMMAND_START
public static final int COMMAND_START
- See Also:
- Constant Field Values
COMMAND_SUSPEND
public static final int COMMAND_SUSPEND
- See Also:
- Constant Field Values
COMMAND_RESUME
public static final int COMMAND_RESUME
- See Also:
- Constant Field Values
COMMAND_STORE
public static final int COMMAND_STORE
- See Also:
- Constant Field Values
COMMAND_RESTORE
public static final int COMMAND_RESTORE
- See Also:
- Constant Field Values
COMMAND_RESTART
public static final int COMMAND_RESTART
- See Also:
- Constant Field Values
COMMAND_ABORT
public static final int COMMAND_ABORT
- See Also:
- Constant Field Values
COMMAND_GET_WORKFLOW_DESCRIPTION
public static final int COMMAND_GET_WORKFLOW_DESCRIPTION
- See Also:
- Constant Field Values
COMMAND_GET_STATUS
public static final int COMMAND_GET_STATUS
- See Also:
- Constant Field Values
COMMAND_GET_WORKFLOW_IDS
public static final int COMMAND_GET_WORKFLOW_IDS
- See Also:
- Constant Field Values
COMMAND_GET_WORKFLOW_STATUS_ARRAY
public static final int COMMAND_GET_WORKFLOW_STATUS_ARRAY
- See Also:
- Constant Field Values
COMMAND_GET_DATA
public static final int COMMAND_GET_DATA
- See Also:
- Constant Field Values
COMMAND_MONITOR
public static final int COMMAND_MONITOR
- See Also:
- Constant Field Values
COMMAND_REMOVE
public static final int COMMAND_REMOVE
- See Also:
- Constant Field Values
COMMAND_GET_WORKFLOW_PROPERTIES
public static final int COMMAND_GET_WORKFLOW_PROPERTIES
- See Also:
- Constant Field Values
COMMAND_SET_WORKFLOW_PROPERTY
public static final int COMMAND_SET_WORKFLOW_PROPERTY
- See Also:
- Constant Field Values
COMMAND_GET_DESCRIPTION
public static final int COMMAND_GET_DESCRIPTION
- See Also:
- Constant Field Values
COMMAND_SET_DESCRIPTION
public static final int COMMAND_SET_DESCRIPTION
- See Also:
- Constant Field Values
COMMAND_GET_ACTIVITIES
public static final int COMMAND_GET_ACTIVITIES
- See Also:
- Constant Field Values
gwes
public RemoteGWES gwes
host
public String host
port
public int port
userID
public String userID
GWESClient
public GWESClient()
throws MalformedURLException
- Throws:
MalformedURLException
GWESClient
public GWESClient(URL gwesServiceUrl,
String userID)
main
public static void main(String[] args)
getUserIDWithCredential
public static String getUserIDWithCredential(String userName)
throws GSSException
- Load local GSS credential and extend userID
- Parameters:
userName -
- Returns:
- userID + "|" + GSScredential
- Throws:
GSSException
usage
public static void usage()
readFile
public static String readFile(String fileName)
- Read a file and put the contents to a string
- Parameters:
fileName - File name of the file to read
- Returns:
- String with the contents of the file
Copyright © 2005-2011 Fraunhofer FIRST. All Rights Reserved.