org.jboss.dtf.testframework.coordinator
Class PermutationCode

java.lang.Object
  extended by org.jboss.dtf.testframework.coordinator.PermutationCode

public class PermutationCode
extends java.lang.Object

This class represents a tests permutation code. When a PermutationCode is created the tasks OSProductCombinations are added in order. The class is then used to retrieve the task permutation codes


Constructor Summary
PermutationCode()
           
 
Method Summary
 void addTaskConfiguration(OSProductCombination taskConfiguration)
          Add an OS/Product combination to the list
 OSProductCombination getPermutationCodeForLITask()
          Get a location independent task permutation code
 OSProductCombination getPermutationCodeForNonLITask()
          Get a non location independent task permutation code
 void reset()
          Reset the OS/Product combination index
 java.lang.String toString()
          Generate the test permutation code string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PermutationCode

public PermutationCode()
Method Detail

addTaskConfiguration

public void addTaskConfiguration(OSProductCombination taskConfiguration)
Add an OS/Product combination to the list

Parameters:
taskConfiguration - The OS/Product combination to add

getPermutationCodeForNonLITask

public OSProductCombination getPermutationCodeForNonLITask()
Get a non location independent task permutation code

Returns:
The OS/Product combination for that task

reset

public void reset()
Reset the OS/Product combination index


getPermutationCodeForLITask

public OSProductCombination getPermutationCodeForLITask()
Get a location independent task permutation code

Returns:
The OS/Product combination for that task

toString

public final java.lang.String toString()
Generate the test permutation code string

Overrides:
toString in class java.lang.Object
Returns:
The permutation code (in hex)