com.ace.moab.api.query
Class CredentialQuery

java.lang.Object
  extended by com.ace.moab.api.query.CredentialQuery

public class CredentialQuery
extends java.lang.Object

Class used for querying the Moab Workload Manager for credential information.

Author:
Scott Brown

Constructor Summary
CredentialQuery()
           
 
Method Summary
static java.util.ArrayList<Credential> getAllCredentials(IMoabConnection moabConnection)
           Returns a list of all standard credentials that this user can see.
static java.util.ArrayList<Credential> getAllCredentialsOfType(IMoabConnection moabConnection, CredentialType credentialType)
           Returns a list of all credentials of a given type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialQuery

public CredentialQuery()
Method Detail

getAllCredentialsOfType

public static java.util.ArrayList<Credential> getAllCredentialsOfType(IMoabConnection moabConnection,
                                                                      CredentialType credentialType)

Returns a list of all credentials of a given type.

All credentials of the specified type are returned. If null is specified, all users, groups, classes/queues, accounts, and quality of services are returned.

Parameters:
moabConnection - The IMoabConnection object that is used to connect to Moab and run commands.
credentialType - the type of credential to return; if null, all credentials are returned.
Returns:
a list of all Credentials of a specified type.

getAllCredentials

public static java.util.ArrayList<Credential> getAllCredentials(IMoabConnection moabConnection)

Returns a list of all standard credentials that this user can see.

All users, groups, classes/queues, accounts, and quality of services are returned.

Parameters:
moabConnection - The IMoabConnection object that is used to connect to Moab and run commands.
Returns:
a list of all Credentials of a specified type.


Copyright © 2001-2009 Cluster Resources, Inc. All Rights Reserved.