Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.remotebuild
Class QRBUTIL

java.lang.Object
  extended by com.ibm.etools.iseries.remotebuild.QRBUTIL

public class QRBUTIL
extends Object

A QRBUTIL provides the interface to the functions of QDEVTOOLS/QRBUTIL that may be of interest to a client. In particular it returns tags for a particular user and connection. These "tags" may be used to set up files that are all associated with a particular build..


Field Summary
static String Copyright
           
 
Constructor Summary
QRBUTIL(AS400 system)
          Creates a new QRBUTIL for a particular system.
 
Method Summary
static QRBUTIL getForSystem(AS400 system)
          A factory method for finding or creating the QRBUTIL for a particular system.
 String getNextTag()
          Returns the next tag value for an AS400 connection.
 String makeMetadataFileName(String tag, String suffix)
          Returns a metadata file name for this user and ensures its creation on the remote system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

QRBUTIL

public QRBUTIL(AS400 system)
Creates a new QRBUTIL for a particular system. Althought this method is public, the factory method getForSystem() is preferred.

Method Detail

getForSystem

public static QRBUTIL getForSystem(AS400 system)
A factory method for finding or creating the QRBUTIL for a particular system. This method is preferred over using the constuctor.

Parameters:
system - The AS400 system on which to create a QRBUTIL.
Returns:
The QRBUTIL that was either found or created.

getNextTag

public String getNextTag()
Returns the next tag value for an AS400 connection. Each system/user has its own tag generator. This value will a name of the form Q000000000 to Q999999999. Returns null there is an error.


makeMetadataFileName

public String makeMetadataFileName(String tag,
                                   String suffix)
Returns a metadata file name for this user and ensures its creation on the remote system. Returns null if there is an error.


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.