Appendix B. Model API Reference

Table of Contents

B.1. API-Reference
B.1.1. de.verit.klaros.core.model
B.1.2. Deprecated API
B.2. Scripting API-Reference
B.2.1. de.verit.klaros.scripting
B.2.2. de.verit.klaros.scripting.context
B.2.3. de.verit.klaros.scripting.custom
B.2.4. de.verit.klaros.scripting.model
B.2.5. Constant field values

B.1. API-Reference

B.1.1. de.verit.klaros.core.model

B.1.1.1. IKlarosAttachment
B.1.1.2. IKlarosCategoryNode
B.1.1.3. IKlarosCategoryTree
B.1.1.4. IKlarosConfiguration
B.1.1.5. IKlarosEnumValue
B.1.1.6. IKlarosExternalLink
B.1.1.7. IKlarosIssue
B.1.1.8. IKlarosIssueManagement
B.1.1.9. IKlarosIteration
B.1.1.10. IKlarosJob
B.1.1.11. IKlarosJobDependency
B.1.1.12. IKlarosJobTimeBlock
B.1.1.13. IKlarosJobUpdateAction
B.1.1.14. IKlarosLabeledObject
B.1.1.15. IKlarosNamedEntity
B.1.1.16. IKlarosProperty
B.1.1.17. IKlarosRequirement
B.1.1.18. IKlarosRequirementManagement
B.1.1.19. IKlarosRevision
B.1.1.20. IKlarosSUTImplementation
B.1.1.21. IKlarosTag
B.1.1.22. IKlarosTestCase
B.1.1.23. IKlarosTestCaseResult
B.1.1.24. IKlarosTestCaseStep
B.1.1.25. IKlarosTestCaseStepResult
B.1.1.26. IKlarosTestEnvironment
B.1.1.27. IKlarosTestExecutable
B.1.1.28. IKlarosTestRun
B.1.1.29. IKlarosTestSegment
B.1.1.30. IKlarosTestStepContainer
B.1.1.31. IKlarosTestSuite
B.1.1.32. IKlarosTestSuiteResult
B.1.1.33. IKlarosUser
B.1.1.34. KlarosAttachment
B.1.1.35. KlarosCategoryNode
B.1.1.36. KlarosCategoryTree
B.1.1.37. KlarosConfiguration
B.1.1.38. KlarosEnumValue
B.1.1.39. KlarosIssue
B.1.1.40. KlarosIssueManagement
B.1.1.41. KlarosIteration
B.1.1.42. KlarosIterationCategoryNode
B.1.1.43. KlarosIterationCategoryTree
B.1.1.44. KlarosJob
B.1.1.45. KlarosJobDependency
B.1.1.46. KlarosJobTimeBlock
B.1.1.47. KlarosJobUpdateAction
B.1.1.48. KlarosLabeledObject
B.1.1.49. KlarosNamedEntity
B.1.1.50. KlarosProperty
B.1.1.51. KlarosRequirement
B.1.1.52. KlarosRequirementCategoryNode
B.1.1.53. KlarosRequirementCategoryTree
B.1.1.54. KlarosRequirementManagement
B.1.1.55. KlarosRevision
B.1.1.56. KlarosSUTImplementation
B.1.1.57. KlarosSUTImplementationCategoryNode
B.1.1.58. KlarosSUTImplementationCategoryTree
B.1.1.59. KlarosTestCase
B.1.1.60. KlarosTestCaseCategoryNode
B.1.1.61. KlarosTestCaseCategoryTree
B.1.1.62. KlarosTestCaseResult
B.1.1.63. KlarosTestCaseStep
B.1.1.64. KlarosTestCaseStepResult
B.1.1.65. KlarosTestEnvironment
B.1.1.66. KlarosTestEnvironmentCategoryNode
B.1.1.67. KlarosTestEnvironmentCategoryTree
B.1.1.68. KlarosTestExecutable
B.1.1.69. KlarosTestRun
B.1.1.70. KlarosTestSegment
B.1.1.71. KlarosTestStepContainer
B.1.1.72. KlarosTestSuite
B.1.1.73. KlarosTestSuiteCategoryNode
B.1.1.74. KlarosTestSuiteCategoryTree
B.1.1.75. KlarosTestSuiteResult
B.1.1.76. KlarosUser

B.1.1.1. IKlarosAttachment

This interface provides access to a binary attachment.

B.1.1.1.1. Synopsis
 public interface IKlarosAttachment {
// Public Methods  public abstract String getMimeType();
  public abstract String getName();
  public abstract long getSize();
  public abstract String getUuid();
  public abstract String getVersion();
}
B.1.1.1.2. getMimeType()
public abstract String getMimeType();

Gets the mime type of the attachment.

Parameters

return

the mime type

B.1.1.1.3. getName()
public abstract String getName();

Gets the name of the attachment.

Parameters

return

the name

B.1.1.1.4. getSize()
public abstract long getSize();

Gets the size in bytes of this attachment.

Parameters

return

the size

B.1.1.1.5. getUuid()
public abstract String getUuid();

Get the unique id of this attachment. This may be resolved by calling KlarosContext.­getAttachmentURL() to an URL pointing to the attachment data.

Parameters

return

The uuid of this attachment.

B.1.1.1.6. getVersion()
public abstract String getVersion();

Gets the version of this attachment.

Parameters

return

the version

B.1.1.2. IKlarosCategoryNode

A Klaros Category Node.

B.1.1.2.1. Synopsis
 public interface IKlarosCategoryNode<I,T,W,P> {
// Public Methods  public abstract getCategoryTree();
  public abstract String getDescription();
  public abstract getParent();
  public abstract List<I> getReferences();
  public abstract String getShortname();
  public abstract List<W> getSubCategories();
}
B.1.1.2.2. getCategoryTree()
public abstract getCategoryTree();

Gets the category tree.

Parameters

return

the category tree

B.1.1.2.3. getDescription()
public abstract String getDescription();

Gets the description.

Parameters

return

the description

B.1.1.2.4. getParent()
public abstract getParent();

Gets the parent category node.

Parameters

return

the parent

B.1.1.2.5. getReferences()
public abstract List<I> getReferences();

Gets the references of this category.

Parameters

return

the references

B.1.1.2.6. getShortname()
public abstract String getShortname();

Gets the shortname.

Parameters

return

the shortname

B.1.1.2.7. getSubCategories()
public abstract List<W> getSubCategories();

Gets the sub categories.

Parameters

return

the sub categories

B.1.1.3. IKlarosCategoryTree

A generic category tree.

B.1.1.3.1. Synopsis
 public interface IKlarosCategoryTree<I,W extends KlarosCategoryTree<I, W, P, X, Y>,P extends CategoryTree,X extends KlarosCategoryNode<I, W, X, Y>,Y extends CategoryNode> extends, IKlarosNamedEntity {
// Public Methods  public abstract String getDescription();
  public abstract KlarosCategoryNode<I, W, X, Y> getRootNode();
  public abstract String getShortname();
}
B.1.1.3.2. getDescription()
public abstract String getDescription();

Gets the description.

Parameters

return

the description

B.1.1.3.3. getRootNode()
public abstract KlarosCategoryNode<I, W, X, Y> getRootNode();

Gets the root category node.

Parameters

return

the root

B.1.1.3.4. getShortname()
public abstract String getShortname();

Gets the shortname.

Parameters

return

the shortname

B.1.1.4. IKlarosConfiguration

This interface provides access to data of a test project.

B.1.1.4.1. Synopsis
 public interface IKlarosConfiguration extends, IKlarosLabeledObject {
// Public Methods  public abstract String getDescription();
  public abstract Set<KlarosTestEnvironment> getEnvs();
  public abstract Set<KlarosIssueManagement> getIssueManagementSystems();
  public abstract Set<KlarosIterationCategoryTree> getIterationCategoryTrees();
  public abstract Set<KlarosIteration> getIterations();
  public abstract Set<KlarosJob> getJobs();
  public abstract Set<KlarosRequirementCategoryTree> getRequirementCategoryTrees();
  public abstract KlarosRequirementManagement getRequirementManagementSystems();
  public abstract Set<KlarosRequirement> getRequirements();
  public abstract Set<KlarosSUTImplementation> getSuts();
  public abstract Set<KlarosSUTImplementationCategoryTree> getSystemUnderTestCategoryTrees();
  public abstract Set<KlarosTestCaseCategoryTree> getTestCaseCategoryTrees();
  public abstract Set<KlarosTestCase> getTestCases();
  public abstract Set<KlarosTestEnvironmentCategoryTree> getTestEnvironmentCategoryTrees();
  public abstract Set<KlarosTestRun> getTestRuns();
  public abstract Set<KlarosTestSuiteCategoryTree> getTestSuiteCategoryTrees();
  public abstract Set<KlarosTestSuite> getTestSuites();
  public abstract Boolean isSecured();
}
B.1.1.4.2. getDescription()
public abstract String getDescription();

Returns the project description.

Parameters

return

The description of the project.

B.1.1.4.3. getEnvs()
public abstract Set<KlarosTestEnvironment> getEnvs();

Returns the project test environments.

Parameters

return

Set containing the test environments of the project.

B.1.1.4.4. getIssueManagementSystems()
public abstract Set<KlarosIssueManagement> getIssueManagementSystems();

Returns the related issue management systems.

Parameters

return

Set containing the related issue management systems of the project.

B.1.1.4.5. getIterationCategoryTrees()
public abstract Set<KlarosIterationCategoryTree> getIterationCategoryTrees();

Returns the project requirement category trees.

Parameters

return

Set containing the iteration category trees of the project.

B.1.1.4.6. getIterations()
public abstract Set<KlarosIteration> getIterations();

Returns the project iteration.

Parameters

return

KlarosSet containing the iteration objects of the project.

B.1.1.4.7. getJobs()
public abstract Set<KlarosJob> getJobs();

Returns the project jobs.

Parameters

return

KlarosSet containing the job objects of the project.

B.1.1.4.8. getRequirementCategoryTrees()
public abstract Set<KlarosRequirementCategoryTree> getRequirementCategoryTrees();

Returns the project requirement category trees.

Parameters

return

Set containing the requirement category trees of the project.

B.1.1.4.9. getRequirementManagementSystems()
public abstract KlarosRequirementManagement getRequirementManagementSystems();

Returns the related requirement management systems.

Parameters

return

Set containing the related requirement management systems of the project.

B.1.1.4.10. getRequirements()
public abstract Set<KlarosRequirement> getRequirements();

Returns the project requirements.

Parameters

return

Set containing the requirement objects of the project.

B.1.1.4.11. getSuts()
public abstract Set<KlarosSUTImplementation> getSuts();

Returns the project SUTs (systems under test).

Parameters

return

KlarosSet containing the SUT objects of the project.

B.1.1.4.12. getSystemUnderTestCategoryTrees()
public abstract Set<KlarosSUTImplementationCategoryTree> getSystemUnderTestCategoryTrees();

Returns the project system under test category trees.

Parameters

return

Set containing the system under test category trees of the project.

B.1.1.4.13. getTestCaseCategoryTrees()
public abstract Set<KlarosTestCaseCategoryTree> getTestCaseCategoryTrees();

Returns the project test case category trees.

Parameters

return

Set containing the test case category trees of the project.

B.1.1.4.14. getTestCases()
public abstract Set<KlarosTestCase> getTestCases();

Returns the project test cases.

Parameters

return

Set containing the test case objects of the project.

B.1.1.4.15. getTestEnvironmentCategoryTrees()
public abstract Set<KlarosTestEnvironmentCategoryTree> getTestEnvironmentCategoryTrees();

Returns the project test environment category trees.

Parameters

return

Set containing the test environment category trees of the project.

B.1.1.4.16. getTestRuns()
public abstract Set<KlarosTestRun> getTestRuns();

Returns the project test runs.

Parameters

return

Set containing the test run objects of the project.

B.1.1.4.17. getTestSuiteCategoryTrees()
public abstract Set<KlarosTestSuiteCategoryTree> getTestSuiteCategoryTrees();

Returns the project test suite category trees.

Parameters

return

Set containing the test suite category trees of the project.

B.1.1.4.18. getTestSuites()
public abstract Set<KlarosTestSuite> getTestSuites();

Returns the project test suites.

Parameters

return

Set containing the test suite objects of the project.

B.1.1.4.19. isSecured()
public abstract Boolean isSecured();

Returns whether this project is secured or not.

Parameters

return

true if this project is secured, false if not.

B.1.1.5. IKlarosEnumValue

A Custom property enumeration value.

B.1.1.5.1. Synopsis
 public interface IKlarosEnumValue {
// Public Methods  public abstract String getValue();
}
B.1.1.5.2. getValue()
public abstract String getValue();

Gets the enumeration value.

Parameters

return

the value

B.1.1.6. IKlarosExternalLink

This interface provides access to externally stored information about an object.

B.1.1.6.1. Synopsis
 public interface IKlarosExternalLink {
// Public Methods  public abstract String getReference();
}
B.1.1.6.2. getReference()
public abstract String getReference();

Get the reference to the externally stored information.

Parameters

return

The reference to the information.

B.1.1.7. IKlarosIssue

This interface provides access to a software issue.

B.1.1.7.1. Synopsis
 public interface IKlarosIssue {
// Public Methods  public abstract KlarosSUTImplementation getAcceptedIn();
  public abstract Date getCreationDate();
  public abstract String getDescription();
  public abstract String getExternalId();
  public abstract KlarosIssueManagement getIssueManagement();
  public abstract Date getLastSynched();
  public abstract Date getLastUpdated();
  public abstract String getOwner();
  public abstract String getPriority();
  public abstract String getRemoteBrowseUrl();
  public abstract String getReporter();
  public abstract String getResolution();
  public abstract String getState();
  public abstract String getSubject();
  public abstract Set<KlarosTestCase> getTestCases();
  public abstract boolean isResolved();
}
B.1.1.7.2. getAcceptedIn()
public abstract KlarosSUTImplementation getAcceptedIn();

Gets the system under test this issue has been accepted/detected in.

Parameters

return

the system under test

B.1.1.7.3. getCreationDate()
public abstract Date getCreationDate();

Gets the creation date of this issue.

Parameters

return

the creation date of this issue.

B.1.1.7.4. getDescription()
public abstract String getDescription();

Get the description.

Parameters

return

The description of this issue.

B.1.1.7.5. getExternalId()
public abstract String getExternalId();

Gets the external id of this issue, if available. This id is generated by the external issue management system upon creation of the issue.

Parameters

return

the external id

B.1.1.7.6. getIssueManagement()
public abstract KlarosIssueManagement getIssueManagement();

Gets the issue management this issue belongs to.

Parameters

return

the issue management

B.1.1.7.7. getLastSynched()
public abstract Date getLastSynched();

Gets the last synchronization date of this issue.

Parameters

return

the last synched date of this issue.

B.1.1.7.8. getLastUpdated()
public abstract Date getLastUpdated();

Gets the last update date.

Parameters

return

the last update date

B.1.1.7.9. getOwner()
public abstract String getOwner();

Gets the name of the owner/assignee of this issue.

Parameters

return

the owner name of this issue.

B.1.1.7.10. getPriority()
public abstract String getPriority();

Gets the priority of this issue. The format and content of this value varies with the issue management system and its configuration.

Parameters

return

the priority of this issue.

B.1.1.7.11. getRemoteBrowseUrl()
public abstract String getRemoteBrowseUrl();

Returns an url to browse the issue in the remote issue management system.

Parameters

return

the remote browse url

B.1.1.7.12. getReporter()
public abstract String getReporter();

Gets the name of the reporter of this issue.

Parameters

return

the reporter name of this issue.

B.1.1.7.13. getResolution()
public abstract String getResolution();

Gets the resolution of this issue. The format and content of this value varies with the issue management system and its configuration.

Parameters

return

the resolution of this issue.

B.1.1.7.14. getState()
public abstract String getState();

Gets the state of this issue. The format and content of this value varies with the issue management system and its configuration.

Parameters

return

the state string of this issue.

B.1.1.7.15. getSubject()
public abstract String getSubject();

Gets the subject of this issue.

Parameters

return

the subject string of this issue.

B.1.1.7.16. getTestCases()
public abstract Set<KlarosTestCase> getTestCases();

Get the related test cases.

Parameters

return

Set of test cases which have detected this issue.

B.1.1.7.17. isResolved()
public abstract boolean isResolved();

Checks if this issue is resolved.

Parameters

return

true, if resolved

B.1.1.8. IKlarosIssueManagement

The interface for accessing issue management systems.

B.1.1.8.1. Synopsis
 public interface IKlarosIssueManagement {
// Public Methods  public abstract String getDescription();
  public abstract Set<KlarosIssue> getIssues();
  public abstract String getName();
  public abstract String getProject();
  public abstract String getType();
  public abstract String getUrl();
}
B.1.1.8.2. getDescription()
public abstract String getDescription();

Get the description of this system.

Parameters

return

The description

B.1.1.8.3. getIssues()
public abstract Set<KlarosIssue> getIssues();

Gets the referenced issues of this system.

Parameters

return

the issues

B.1.1.8.4. getName()
public abstract String getName();

Get the name of the object. This matches the id field visible in the UI.

Parameters

return

The name of the object.

B.1.1.8.5. getProject()
public abstract String getProject();

Get the optional project of this system.

Parameters

return

The project

B.1.1.8.6. getType()
public abstract String getType();

Get the type of this system.

Parameters

return

The type

B.1.1.8.7. getUrl()
public abstract String getUrl();

Get the base url of this system.

Parameters

return

The url

B.1.1.9. IKlarosIteration

An iteration in a project.

B.1.1.9.1. Synopsis
 public interface IKlarosIteration extends, IKlarosNamedEntity {
// Public Methods  public abstract Set<KlarosAttachment> getAttachments();
  public abstract Set<KlarosIterationCategoryNode> getCategories();
  public abstract StateDef getCurrentState();
  public abstract String getDescription();
  public abstract Date getDueDate();
  public abstract Set<KlarosTestEnvironment> getEnvs();
  public abstract Set<KlarosJob> getJobs();
  public abstract String getShortname();
  public abstract Date getStartDate();
  public abstract String getSuccessCriteria();
  public abstract Set<KlarosSUTImplementation> getSuts();
  public abstract Set<KlarosTestRun> getTestRuns();
}
B.1.1.9.2. getAttachments()
public abstract Set<KlarosAttachment> getAttachments();

Gets the attachments associated with this iteration.

Parameters

return

the attachments

B.1.1.9.3. getCategories()
public abstract Set<KlarosIterationCategoryNode> getCategories();

Gets the categories this object belongs to. Each category node will belong to a different category tree.

Parameters

return

the category nodes

B.1.1.9.4. getCurrentState()
public abstract StateDef getCurrentState();

Gets the current state.

Parameters

return

the current state

B.1.1.9.5. getDescription()
public abstract String getDescription();

Gets the description.

Parameters

return

the description

B.1.1.9.6. getDueDate()
public abstract Date getDueDate();

Gets the due date.

Parameters

return

the due date

B.1.1.9.7. getEnvs()
public abstract Set<KlarosTestEnvironment> getEnvs();

Gets the test environments associated with this iteration.

Parameters

return

the test environments

B.1.1.9.8. getJobs()
public abstract Set<KlarosJob> getJobs();

Gets the jobs associated with this iteration.

Parameters

return

the jobs

B.1.1.9.9. getShortname()
public abstract String getShortname();

Gets the short name.

Parameters

return

the short name

B.1.1.9.10. getStartDate()
public abstract Date getStartDate();

Gets the start date.

Parameters

return

the start date

B.1.1.9.11. getSuccessCriteria()
public abstract String getSuccessCriteria();

Gets the success criteria.

Parameters

return

the success criteria

B.1.1.9.12. getSuts()
public abstract Set<KlarosSUTImplementation> getSuts();

Gets the systems under test associated with this iteration.

Parameters

return

the systems under test

B.1.1.9.13. getTestRuns()
public abstract Set<KlarosTestRun> getTestRuns();

Gets the test runs associated with this iteration.

Parameters

return

the test runs

B.1.1.10. IKlarosJob

This interface provides access to the data of a job.

B.1.1.10.1. Synopsis
 public interface IKlarosJob extends, IKlarosNamedEntity {
// Public Methods  public abstract Set<KlarosAttachment> getAttachments();
  public abstract KlarosConfiguration getConfiguration();
  public abstract Set<KlarosJobDependency> getDependentJobs();
  public abstract String getDescription();
  public abstract Date getDueDate();
  public abstract KlarosTestEnvironment getEnv();
  public abstract String getEstimatedTime();
  public abstract Long getEstimatedTimeInMilliseconds();
  public abstract JobPriority getJobPriority();
  public abstract JobStatus getJobStatus();
  public abstract JobType getJobType();
  public abstract KlarosJob getParent();
  public abstract Integer getProgress();
  public abstract Set<KlarosJobDependency> getRequiredJobs();
  public abstract Date getStartDate();
  public abstract List<KlarosJob> getSubJobs();
  public abstract Integer getSuccessRate();
  public abstract String getSummary();
  public abstract KlarosSUTImplementation getSut();
  public abstract KlarosTestCase getTestCase();
  public abstract Set<KlarosTestRun> getTestRuns();
  public abstract KlarosTestSuite getTestSuite();
  public abstract List<KlarosJobUpdateAction> getUpdateAction();
  public abstract List<KlarosJobTimeBlock> getWork();
}
B.1.1.10.2. getAttachments()
public abstract Set<KlarosAttachment> getAttachments();

Gets the attachments associated with this job.

Parameters

return

the attachments

B.1.1.10.3. getDependentJobs()
public abstract Set<KlarosJobDependency> getDependentJobs();

Gets the jobs depending on this jobs state.

Parameters

return

the dependent jobs

B.1.1.10.4. getRequiredJobs()
public abstract Set<KlarosJobDependency> getRequiredJobs();

Gets the jobs on which states this job is depending on.

Parameters

return

the required jobs

B.1.1.10.5. getTestRuns()
public abstract Set<KlarosTestRun> getTestRuns();

Gets the test runs executed with this job.

Parameters

return

the test runs

B.1.1.10.6. getUpdateAction()
public abstract List<KlarosJobUpdateAction> getUpdateAction();

Gets the update action list.

Parameters

return

the update action

B.1.1.10.7. getWork()
public abstract List<KlarosJobTimeBlock> getWork();

Gets the list of work items done on this job.

Parameters

return

the work items

B.1.1.11. IKlarosJobDependency

This interface provides access to the data of a job.

B.1.1.11.1. Synopsis
 public interface IKlarosJobDependency {
// Public Methods  public abstract Set<JobStatus> getJobStates();
  public abstract UUID getKey();
  public abstract Integer getProgress();
  public abstract KlarosJob getRequiredBy();
  public abstract KlarosJob getRequires();
  public abstract Integer getSuccessRate();
  public abstract Set<Verdict> getVerdicts();
}
B.1.1.11.2. getJobStates()
public abstract Set<JobStatus> getJobStates();

Gets the job states.

Parameters

return

the job states

B.1.1.11.3. getKey()
public abstract UUID getKey();

Get the internal key of the object. This key is globally unique.

Parameters

return

The internal key.

B.1.1.11.4. getRequiredBy()
public abstract KlarosJob getRequiredBy();

Gets the job this dependency is required by.

Parameters

return

the job this dependency is required by

B.1.1.11.5. getRequires()
public abstract KlarosJob getRequires();

Returns the job this dependency requires for evaluation.

Parameters

return

the job this dependency requires

B.1.1.11.6. getVerdicts()
public abstract Set<Verdict> getVerdicts();

Gets the verdicts.

Parameters

return

the verdicts

B.1.1.12. IKlarosJobTimeBlock

The job time block defines a certain amount of time the job has been worked on.

B.1.1.12.1. Synopsis
 public interface IKlarosJobTimeBlock {
// Public Methods  public abstract String getDescription();
  public abstract Date getDoneAt();
  public abstract String getDuration();
  public abstract Long getDurationInMilliseconds();
  public abstract String getEstimatedTimeLeft();
  public abstract Long getEstimatedTimeLeftInMilliseconds();
  public abstract KlarosJob getJob();
  public abstract KlarosTestRun getTestRun();
}
B.1.1.12.2. getDescription()
public abstract String getDescription();

Gets the work description.

Parameters

return

the work description

B.1.1.12.3. getDoneAt()
public abstract Date getDoneAt();

Gets the date this work was done at.

Parameters

return

the start date

B.1.1.12.4. getDuration()
public abstract String getDuration();

Gets the work duration as a String.

Parameters

return

the duration

B.1.1.12.5. getDurationInMilliseconds()
public abstract Long getDurationInMilliseconds();

Gets the work duration in milliseconds.

Parameters

return

the work duration in hours

B.1.1.12.6. getEstimatedTimeLeft()
public abstract String getEstimatedTimeLeft();

Gets the estimated time left for this job as a String.

Parameters

return

the estimated time left

B.1.1.12.7. getEstimatedTimeLeftInMilliseconds()
public abstract Long getEstimatedTimeLeftInMilliseconds();

Gets the estimated time left for this job in milliseconds.

Parameters

return

the estimated time left in hours

B.1.1.12.8. getJob()
public abstract KlarosJob getJob();

Gets the job this job time block belongs to.

Parameters

return

the job

B.1.1.12.9. getTestRun()
public abstract KlarosTestRun getTestRun();

Gets the test run this job time block belongs to.

Parameters

return

the test run

B.1.1.13. IKlarosJobUpdateAction

This interface provides access to the job update action.

B.1.1.13.1. Synopsis
 public interface IKlarosJobUpdateAction {
// Public Methods  public abstract String getChanges();
  public abstract String getDescription();
}
B.1.1.13.2. getChanges()
public abstract String getChanges();

Gets the changes.

Parameters

return

the changes

B.1.1.13.3. getDescription()
public abstract String getDescription();

Gets the description.

Parameters

return

the description

B.1.1.14. IKlarosLabeledObject

This interface provides access to the fields of a labeled object.

B.1.1.14.1. Synopsis
 public interface IKlarosLabeledObject {
// Public Methods  public abstract Iterable<?> asIterable();
  public abstract Date getCreated();
  public abstract KlarosUser getCreator();
  public abstract UUID getKey();
  public abstract KlarosUser getLastEditor();
  public abstract Date getLastUpdated();
  public abstract String getName();
  public abstract boolean isEnabled();
}
B.1.1.14.2. asIterable()
public abstract Iterable<?> asIterable();

Return this object as an iterable containing just this object.

Parameters

return

the iterable container

B.1.1.14.3. getKey()
public abstract UUID getKey();

Get the internal key of the object. This key is globally unique.

Parameters

return

The internal key.

B.1.1.14.4. getName()
public abstract String getName();

Get the name of the object. This matches the id field visible in the UI.

Parameters

return

The name of the object.

B.1.1.14.5. isEnabled()
public abstract boolean isEnabled();

Returns the value of the enabled flag of this object.

Parameters

return

true if the entity is enabled, else false

B.1.1.15. IKlarosNamedEntity

This interface provides access to data of a properties owner.

B.1.1.15.1. Synopsis
 public interface IKlarosNamedEntity extends, IKlarosLabeledObject {
// Public Methods  public abstract KlarosUser getAssignee();
  public abstract List<IKlarosProperty> getProperties();
  public abstract boolean isDefinedProperty(String propertyName);
}
B.1.1.15.2. getProperties()
public abstract List<IKlarosProperty> getProperties();

Gets the list of properties.

Parameters

return

the properties

B.1.1.15.3. isDefinedProperty(String)
public abstract boolean isDefinedProperty(String propertyName);

Check if a property identified by given name is a defined property.

Parameters

propertyName

The name of the property to check.

return

true if the identified property is a defined property, false else.

B.1.1.16. IKlarosProperty

A user defined property.

B.1.1.16.1. Synopsis
 public interface IKlarosProperty {
// Public Methods  public abstract String getName();
  public abstract String getValue();
}
B.1.1.16.2. getName()
public abstract String getName();

Gets the property name.

Parameters

return

the property name

B.1.1.16.3. getValue()
public abstract String getValue();

Gets the property value.

Parameters

return

the property value

B.1.1.17. IKlarosRequirement

This interface provides access to data of a requirement.

B.1.1.17.1. Synopsis
 public interface IKlarosRequirement<T,S extends Revision> extends, IKlarosRevision<T, S> {
// Public Methods  public abstract Set<KlarosAttachment> getAttachments();
  public abstract Set<KlarosRequirementCategoryNode> getCategories();
  public abstract KlarosConfiguration getConfiguration();
  public abstract Set<KlarosTestCase> getCoveringTestCases();
  public abstract String getDescription();
  public abstract Set<String> getExternalNames();
  public abstract String getExternalStatus();
  public abstract Set<KlarosIteration> getIterations();
  public abstract RequirementPriority getPriority();
  public abstract String getShortname();
  public abstract String getState();
  public abstract String getSummary();
}
B.1.1.17.2. getAttachments()
public abstract Set<KlarosAttachment> getAttachments();

Gets the attachments associated with this requirement.

Parameters

return

the attachments

B.1.1.17.3. getCategories()
public abstract Set<KlarosRequirementCategoryNode> getCategories();

Gets the categories this object belongs to. Each category node will belong to a different category tree.

Parameters

return

the category nodes

B.1.1.17.4. getConfiguration()
public abstract KlarosConfiguration getConfiguration();

Get configuration.

Parameters

return

The related configuration.

B.1.1.17.5. getCoveringTestCases()
public abstract Set<KlarosTestCase> getCoveringTestCases();

Get test cases covering the requirement.

Parameters

return

Set of test cases which cover this test requirement.

B.1.1.17.6. getDescription()
public abstract String getDescription();

Get the description.

Parameters

return

the string

B.1.1.17.7. getExternalNames()
public abstract Set<String> getExternalNames();

Gets the external requirement names this requirement is associated with. External requirement names are used to match imported requirements to existing requirements.

Parameters

return

the external names

B.1.1.17.8. getExternalStatus()
public abstract String getExternalStatus();

Gets the external status.

Parameters

return

the external status

B.1.1.17.9. getIterations()
public abstract Set<KlarosIteration> getIterations();

Get the iterations this requirement is assigned to.

Parameters

return

Set of iterations this requirement is assigned to.

B.1.1.17.10. getPriority()
public abstract RequirementPriority getPriority();

Gets the priority.

Parameters

return

the priority

B.1.1.17.11. getShortname()
public abstract String getShortname();

Gets the shortname.

Parameters

return

the shortname

B.1.1.17.12. getState()
public abstract String getState();

Gets the state.

Parameters

return

the state

B.1.1.17.13. getSummary()
public abstract String getSummary();

Gets the summary.

Parameters

return

the summary

B.1.1.18. IKlarosRequirementManagement

The interface for accessing requirements management systems.

B.1.1.18.1. Synopsis
 public interface IKlarosRequirementManagement {
// Public Methods  public abstract String getDescription();
  public abstract String getName();
  public abstract String getProject();
  public abstract Set<KlarosRequirement> getRequirements();
  public abstract String getType();
  public abstract String getUrl();
}
B.1.1.18.2. getDescription()
public abstract String getDescription();

Get the description of this system.

Parameters

return

The description

B.1.1.18.3. getName()
public abstract String getName();

Get the name of the object. This matches the id field visible in the UI.

Parameters

return

The name of the object.

B.1.1.18.4. getProject()
public abstract String getProject();

Get the optional project of this system.

Parameters

return

The project

B.1.1.18.5. getRequirements()
public abstract Set<KlarosRequirement> getRequirements();

Gets the referenced requirements of this system.

Parameters

return

the issues

B.1.1.18.6. getType()
public abstract String getType();

Get the type of this system.

Parameters

return

The type

B.1.1.18.7. getUrl()
public abstract String getUrl();

Get the base url of this system.

Parameters

return

The url

B.1.1.19. IKlarosRevision

This interface provides access to a revisionable Klaros object.

B.1.1.19.1. Synopsis
 public interface IKlarosRevision<T,S extends Revision> extends, IKlarosNamedEntity {
// Public Methods  public abstract KlarosRevision<T, S> getPredecessor();
  public abstract String getRevisionComment();
  public abstract String getRevisionId();
  public abstract KlarosRevision<T, S> getRoot();
  public abstract KlarosRevision<T, S> getSuccessor();
}
B.1.1.19.2. getPredecessor()
public abstract KlarosRevision<T, S> getPredecessor();

Get the predecessor of the revision.

Parameters

return

The revision object that is the predecessor of this revision.

B.1.1.19.3. getRevisionComment()
public abstract String getRevisionComment();

Get comment.

Parameters

return

The comment of the revision.

B.1.1.19.4. getRevisionId()
public abstract String getRevisionId();

Get the revision id.

Parameters

return

The revision id.

B.1.1.19.5. getRoot()
public abstract KlarosRevision<T, S> getRoot();

Get the root of the revision hierarchy.

Parameters

return

The root revision object.

B.1.1.19.6. getSuccessor()
public abstract KlarosRevision<T, S> getSuccessor();

Get the successor of the revision.

Parameters

return

The revision object that is the successor of this revision.

B.1.1.20. IKlarosSUTImplementation

This interface provides access to data of a system under test version.

B.1.1.20.1. Synopsis
 public interface IKlarosSUTImplementation extends, IKlarosNamedEntity {
// Public Methods  public abstract Set<KlarosAttachment> getAttachments();
  public abstract Set<KlarosSUTImplementationCategoryNode> getCategories();
  public abstract KlarosConfiguration getConfiguration();
  public abstract Set<KlarosIssue> getIssues();
  public abstract Set<KlarosIteration> getIterations();
  public abstract String getProductversion();
  public abstract Set<KlarosTestRun> getTestRuns();
}
B.1.1.20.2. getAttachments()
public abstract Set<KlarosAttachment> getAttachments();

Gets the attachments associated with this system under test.

Parameters

return

the attachments

B.1.1.20.3. getCategories()
public abstract Set<KlarosSUTImplementationCategoryNode> getCategories();

Gets the categories this system under test belongs to. Each category node will belong to a different category tree.

Parameters

return

the category nodes

B.1.1.20.4. getConfiguration()
public abstract KlarosConfiguration getConfiguration();

Get configuration.

Parameters

return

The related configuration.

B.1.1.20.5. getIssues()
public abstract Set<KlarosIssue> getIssues();

Gets the issues related to this system under test.

Parameters

return

the issues

B.1.1.20.6. getIterations()
public abstract Set<KlarosIteration> getIterations();

Get the iterations this system under test is assigned to.

Parameters

return

Set of iterations this system under test is assigned to.

B.1.1.20.7. getProductversion()
public abstract String getProductversion();

Get product version.

Parameters

return

The version id of the system under test.

B.1.1.20.8. getTestRuns()
public abstract Set<KlarosTestRun> getTestRuns();

Get the test runs performed with this system under test.

Parameters

return

Set of test runs performed for this system under test.

B.1.1.21. IKlarosTag

This interface provides access to the data of a tag.

B.1.1.21.1. Synopsis
 public interface IKlarosTag {
// Public Methods  public abstract Set<KlarosRevision<?, ?>> getRevisions();
  public abstract String getTagId();
  public abstract Date getTimestamp();
}
B.1.1.21.2. getRevisions()
public abstract Set<KlarosRevision<?, ?>> getRevisions();

Get related revisions.

Parameters

return

Collection of revision objects which are related to this tag.

B.1.1.21.3. getTagId()
public abstract String getTagId();

Get tag id.

Parameters

return

The id of the tag.

B.1.1.21.4. getTimestamp()
public abstract Date getTimestamp();

Get timestamp.

Parameters

return

The time of the creation of the tag as a Date object.

B.1.1.22. IKlarosTestCase

This class provides access to data of a test case.

B.1.1.22.1. Synopsis
 public interface IKlarosTestCase<T,S extends Revision> extends, IKlarosRevision<T, S> {
// Public Methods  @Deprecated public abstract TestAreatopic getArea();
  public abstract Set<KlarosAttachment> getAttachments();
  public abstract Set<KlarosTestCaseCategoryNode> getCategories();
  public abstract KlarosConfiguration getConfiguration();
  public abstract Set<KlarosRequirement> getCovers();
  public abstract String getDependency();
  public abstract String getDescription();
  public abstract TestDesignTechnique getDesignTechnique();
  public abstract List<KlarosIssue> getDetectedIssues();
  public abstract String getDocbase();
  public abstract String getEvaluation();
  public abstract TestExecutionMethod getExecution();
  public abstract String getExpectedResult();
  public abstract Set<String> getExternalNames();
  public abstract List<KlarosJob> getJobs();
  public abstract TestLevel getLevel();
  public abstract String getNote();
  public abstract String getPostcondition();
  public abstract String getPrecondition();
  public abstract TestPriority getPriority();
  public abstract Set<KlarosTestCaseResult> getResults();
  public abstract String getShortname();
  public abstract String getState();
  @Deprecated public abstract String getStateName(KlarosSUTImplementation sut);
  public abstract String getTeam();
  public abstract List<KlarosTestCaseStep> getTestCaseSteps();
  public abstract TestAreatopic getTestType();
  public abstract String getTraceability();
  public abstract TestVariety getVariety();
}
B.1.1.22.2. getArea()
@Deprecated public abstract TestAreatopic getArea();

The test type of this test case.

Parameters

return

The test type.

B.1.1.22.3. getAttachments()
public abstract Set<KlarosAttachment> getAttachments();

Gets the attachments associated with this test case.

Parameters

return

the attachments

B.1.1.22.4. getCategories()
public abstract Set<KlarosTestCaseCategoryNode> getCategories();

Gets the categories this object belongs to. Each category node will belong to a different category tree.

Parameters

return

the category nodes

B.1.1.22.5. getConfiguration()
public abstract KlarosConfiguration getConfiguration();

Get the project configuration this test case revision belongs to.

Parameters

return

The related configuration.

B.1.1.22.6. getCovers()
public abstract Set<KlarosRequirement> getCovers();

Get covered requirements.

Parameters

return

Set of requirements which are covered by this test case.

B.1.1.22.7. getDependency()
public abstract String getDependency();

The dependency of this test case.

Parameters

return

The dependency.

B.1.1.22.8. getDescription()
public abstract String getDescription();

The description of this test case.

Parameters

return

The description.

B.1.1.22.9. getDesignTechnique()
public abstract TestDesignTechnique getDesignTechnique();

The design technique of this test case.

Parameters

return

The type.

B.1.1.22.10. getDetectedIssues()
public abstract List<KlarosIssue> getDetectedIssues();

Get detected issues.

Parameters

return

List of issues which have been detected by this test case.

B.1.1.22.11. getDocbase()
public abstract String getDocbase();

The docbase of this test case.

Parameters

return

The docbase.

B.1.1.22.12. getEvaluation()
public abstract String getEvaluation();

The evaluation of this test case.

Parameters

return

The evaluation.

B.1.1.22.13. getExecution()
public abstract TestExecutionMethod getExecution();

The execution method of this test case.

Parameters

return

The execution method.

B.1.1.22.14. getExpectedResult()
public abstract String getExpectedResult();

The expected result of this test case.

Parameters

return

The expected result.

B.1.1.22.15. getExternalNames()
public abstract Set<String> getExternalNames();

Gets the external test case names this test case is associated with. External test case names are used to match imported test case result to existing test cases.

Parameters

return

the external names

B.1.1.22.16. getJobs()
public abstract List<KlarosJob> getJobs();

Gets the jobs associated with this test case.

Parameters

return

the jobs

B.1.1.22.17. getLevel()
public abstract TestLevel getLevel();

The level of this test case.

Parameters

return

The level.

B.1.1.22.18. getNote()
public abstract String getNote();

The note of this test case.

Parameters

return

The note.

B.1.1.22.19. getPostcondition()
public abstract String getPostcondition();

The postcondition of this test case.

Parameters

return

The postcondition.

B.1.1.22.20. getPrecondition()
public abstract String getPrecondition();

The precondition of this test case.

Parameters

return

The precondition.

B.1.1.22.21. getPriority()
public abstract TestPriority getPriority();

The priority of this test case.

Parameters

return

The priority.

B.1.1.22.22. getResults()
public abstract Set<KlarosTestCaseResult> getResults();

Get test case results.

Parameters

return

Set of results of executions of this test case.

B.1.1.22.23. getShortname()
public abstract String getShortname();

The short name (title) of this test case.

Parameters

return

The short name.

B.1.1.22.24. getState()
public abstract String getState();

The type of this test case.

Parameters

return

The type.

B.1.1.22.25. getStateName(KlarosSUTImplementation)
@Deprecated public abstract String getStateName(KlarosSUTImplementation sut);

Get name of the state related to given SUT.

Parameters

sut

The related SUT implementation

return

The name of the state

B.1.1.22.26. getTeam()
public abstract String getTeam();

The team responsible for this test case.

Parameters

return

The team.

B.1.1.22.27. getTestCaseSteps()
public abstract List<KlarosTestCaseStep> getTestCaseSteps();

Get test case steps.

Parameters

return

list of steps of this test case.

B.1.1.22.28. getTestType()
public abstract TestAreatopic getTestType();

The test type of this test case.

Parameters

return

The test type.

B.1.1.22.29. getTraceability()
public abstract String getTraceability();

The traceability of this test case.

Parameters

return

The traceability.

B.1.1.22.30. getVariety()
public abstract TestVariety getVariety();

The variety of this test case.

Parameters

return

The variety.

B.1.1.23. IKlarosTestCaseResult

This interface provides access to data of a test case result.

B.1.1.23.1. Synopsis
 public interface IKlarosTestCaseResult extends, IKlarosNamedEntity {
// Public Methods  public abstract Set<KlarosAttachment> getAttachments();
  public abstract String getDescription();
  public abstract long getExecutionTime();
  public abstract KlarosJob getJob();
  public abstract List<KlarosTestCaseStepResult> getStepResults();
  public abstract String getSummary();
  public abstract KlarosTestCase getTestCase();
  public abstract KlarosTestRun getTestRun();
  public abstract Integer getTestSuitePosition();
  public abstract KlarosTestSuiteResult getTestSuiteResult();
  public abstract boolean isError();
  public abstract boolean isFailure();
  public abstract boolean isPassed();
  public abstract boolean isPending();
  public abstract boolean isSkipped();
}
B.1.1.23.2. getAttachments()
public abstract Set<KlarosAttachment> getAttachments();

Gets the attachments associated with this test case result.

Parameters

return

the attachments

B.1.1.23.3. getDescription()
public abstract String getDescription();

Get the test result description. This is usually set for failed/error status results.

Parameters

return

The test result description.

B.1.1.23.4. getExecutionTime()
public abstract long getExecutionTime();

Get the test execution time in ms.

Parameters

return

The test execution time.

B.1.1.23.5. getJob()
public abstract KlarosJob getJob();

Gets the job this test case result belongs if one exists.

Parameters

return

the associated job

B.1.1.23.6. getStepResults()
public abstract List<KlarosTestCaseStepResult> getStepResults();

Get the associated step results.

Parameters

return

List of test case step results.

B.1.1.23.7. getSummary()
public abstract String getSummary();

Get the test result summary. This is usually set for failed/error status results.

Parameters

return

The test result summary.

B.1.1.23.8. getTestCase()
public abstract KlarosTestCase getTestCase();

Get the associated test case.

Parameters

return

The test case that has been executed to get this result.

B.1.1.23.9. getTestRun()
public abstract KlarosTestRun getTestRun();

Get the associated test run.

Parameters

return

The test run that created this result.

B.1.1.23.10. getTestSuitePosition()
public abstract Integer getTestSuitePosition();

Return the position in the the test suite result this test case result belongs to or null if this test case has not been executed by executing a test suite.

Parameters

return

the position of the test case in the test suite, or null

B.1.1.23.11. getTestSuiteResult()
public abstract KlarosTestSuiteResult getTestSuiteResult();

Return the test suite result this test case result belongs to or null if this test case has not been executed by executing a test suite.

Parameters

return

the test suite result, or null

B.1.1.23.12. isError()
public abstract boolean isError();

Check if this is an error result. It is assumed, that error results have a property 'type' with the value 'E' or 'error'.

Parameters

return

true if this results represents an error.

B.1.1.23.13. isFailure()
public abstract boolean isFailure();

Check if this is a failure result. It is assumed, that failure results have a property 'type' with the value 'F' or 'failure'.

Parameters

return

true if this results represents a failure.

B.1.1.23.14. isPassed()
public abstract boolean isPassed();

Check if this is a result of a passed test case. It is assumed, that passed results have a property 'testCasePassed' with value 'true'.

Parameters

return

true if this results represents an error.

B.1.1.23.15. isPending()
public abstract boolean isPending();

Checks if the test case result is pending. This means that it has not yet been completely executed.

Parameters

return

true, if the test case result is pending

B.1.1.23.16. isSkipped()
public abstract boolean isSkipped();

Check if this is a skipped result. It is assumed, that skipped results have a property 'type' with the value 'S' or 'skipped'.

Parameters

return

true if this results represents a skipped result.

B.1.1.24. IKlarosTestCaseStep

This interface provides access to a test case step.

B.1.1.24.1. Synopsis
 public interface IKlarosTestCaseStep<T,S extends Revision> extends, IKlarosTestStepContainer<T, S> {
// Public Methods  public abstract String getAction();
}
B.1.1.24.2. getAction()
public abstract String getAction();

Get the action.

Parameters

return

The action of this test case step.

B.1.1.25. IKlarosTestCaseStepResult

This interface provides access to data of a test case step result.

B.1.1.25.1. Synopsis
 public interface IKlarosTestCaseStepResult extends, IKlarosNamedEntity {
// Public Methods  public abstract String getAction();
  public abstract String getDescription();
  public abstract long getExecutionTime();
  public abstract String getExpectedResult();
  public abstract String getPostcondition();
  public abstract String getPrecondition();
  public abstract String getSummary();
  public abstract KlarosTestCase getTestCase();
  public abstract KlarosTestCaseResult getTestCaseResult();
  public abstract KlarosTestRun getTestRun();
  public abstract boolean isError();
  public abstract boolean isFailure();
  public abstract boolean isPassed();
  public abstract boolean isSkipped();
}
B.1.1.25.2. getAction()
public abstract String getAction();

Get the action.

Parameters

return

The action of this test case step.

B.1.1.25.3. getDescription()
public abstract String getDescription();

Get the test result description. This is usually set for failed/error status results.

Parameters

return

The test result description.

B.1.1.25.4. getExecutionTime()
public abstract long getExecutionTime();

Get the test execution time in ms.

Parameters

return

The test execution time.

B.1.1.25.5. getExpectedResult()
public abstract String getExpectedResult();

Get the expected result.

Parameters

return

The expected result of this test case step.

B.1.1.25.6. getPostcondition()
public abstract String getPostcondition();

Get the postcondition.

Parameters

return

The postcondition of this test case step.

B.1.1.25.7. getPrecondition()
public abstract String getPrecondition();

Get the precondition.

Parameters

return

The precondition of this test case step.

B.1.1.25.8. getSummary()
public abstract String getSummary();

Get the test result summary. This is usually set for failed/error status results.

Parameters

return

The test result summary.

B.1.1.25.9. getTestCase()
public abstract KlarosTestCase getTestCase();

Get test case.

Parameters

return

The test case that has been executed to get this result.

B.1.1.25.10. getTestCaseResult()
public abstract KlarosTestCaseResult getTestCaseResult();

Get test case result.

Parameters

return

The test case result that has been executed to get this result.

B.1.1.25.11. getTestRun()
public abstract KlarosTestRun getTestRun();

Get test run.

Parameters

return

The test run that created this result.

B.1.1.25.12. isError()
public abstract boolean isError();

Check if this is an error result. It is assumed, that error results have a property 'type' with the value 'E' or 'error'.

Parameters

return

true if this results represents an error.

B.1.1.25.13. isFailure()
public abstract boolean isFailure();

Check if this is a failure result. It is assumed, that failure results have a property 'type' with the value 'F' or 'failure'.

Parameters

return

true if this results represents a failure.

B.1.1.25.14. isPassed()
public abstract boolean isPassed();

Check if this is a result of a passed test case. It is assumed, that passed results have a property 'testCasePassed' with value 'true'.

Parameters

return

true if this results represents an error.

B.1.1.25.15. isSkipped()
public abstract boolean isSkipped();

Check if this is a skipped result. It is assumed, that skipped results have a property 'type' with the value 'S' or 'skipped'.

Parameters

return

true if this results represents a skipped result.

B.1.1.26. IKlarosTestEnvironment

This interface provides access to data of a test environment.

B.1.1.26.1. Synopsis
 public interface IKlarosTestEnvironment extends, IKlarosNamedEntity {
// Public Methods  public abstract Set<KlarosAttachment> getAttachments();
  public abstract Set<KlarosTestEnvironmentCategoryNode> getCategories();
  public abstract String getDescription();
  public abstract Set<KlarosIteration> getIterations();
  public abstract Set<KlarosTestRun> getTestRuns();
}
B.1.1.26.2. getAttachments()
public abstract Set<KlarosAttachment> getAttachments();

Gets the attachments associated with this test environment.

Parameters

return

the attachments

B.1.1.26.3. getCategories()
public abstract Set<KlarosTestEnvironmentCategoryNode> getCategories();

Gets the categories this test environment belongs to. Each category node will belong to a different category tree.

Parameters

return

the category nodes

B.1.1.26.4. getIterations()
public abstract Set<KlarosIteration> getIterations();

Get the iterations this test environment is assigned to.

Parameters

return

Set of iterations this test environment is assigned to.

B.1.1.26.5. getTestRuns()
public abstract Set<KlarosTestRun> getTestRuns();

Gets the test runs associated with this test environment.

Parameters

return

Collection of test runs executed in the environment.

B.1.1.27. IKlarosTestExecutable

This class provides access to a test executable. This may wrap a test case or a test suite.

B.1.1.27.1. Synopsis
 public interface IKlarosTestExecutable {
}

B.1.1.28. IKlarosTestRun

This interface provides access to data of a test run.

B.1.1.28.1. Synopsis
 public interface IKlarosTestRun {
// Public Methods  public abstract KlarosConfiguration getConfiguration();
  public abstract KlarosTestEnvironment getEnv();
  public abstract KlarosIteration getIteration();
  public abstract KlarosJob getJob();
  public abstract int getNumberErrors();
  public abstract int getNumberFailures();
  public abstract int getNumberPassed();
  public abstract int getNumberSkipped();
  public abstract String getRelatedSummary();
  public abstract Set<KlarosTestCaseResult> getResults();
  public abstract String getRunId();
  public abstract KlarosSUTImplementation getSut();
  public abstract KlarosTestSuite getTestSuite();
  public abstract Date getTimestamp();
  public abstract Set<KlarosJobTimeBlock> getWork();
  public abstract boolean isPending();
}
B.1.1.28.2. getConfiguration()
public abstract KlarosConfiguration getConfiguration();

Get configuration.

Parameters

return

The related configuration

B.1.1.28.3. getEnv()
public abstract KlarosTestEnvironment getEnv();

Get test environment.

Parameters

return

The test environment in which the test cases have been executed.

B.1.1.28.4. getIteration()
public abstract KlarosIteration getIteration();

Get the iteration in which the test run has been created, if available.

Parameters

return

The iteration in which the test run has been created

B.1.1.28.5. getJob()
public abstract KlarosJob getJob();

Get the job that initiated the test run, if available.

Parameters

return

The job that initiated the test run

B.1.1.28.6. getNumberErrors()
public abstract int getNumberErrors();

Get number of test cases with errors of this test run. It is assumed, that error results have a property 'type' with the value 'E'.

Parameters

return

The number of error test cases

B.1.1.28.7. getNumberFailures()
public abstract int getNumberFailures();

Get number of failed test cases of this test run. It is assumed, that failed results have a property 'type' with the value 'F'.

Parameters

return

The number of failed test cases

B.1.1.28.8. getNumberPassed()
public abstract int getNumberPassed();

Get number of passed test cases of this test run. It is assumed, that passed results have a property 'testCasePassed' with value 'true'.

Parameters

return

The number of passed test cases

B.1.1.28.9. getNumberSkipped()
public abstract int getNumberSkipped();

Get number of skipped test cases of this test run. It is assumed, that failed results have a property 'type' with the value 'S'.

Parameters

return

The number of skipped test cases

B.1.1.28.10. getRelatedSummary()
public abstract String getRelatedSummary();

Gets the summary of the job, test suite or test case related to this test run.

Parameters

return

the related summary

B.1.1.28.11. getResults()
public abstract Set<KlarosTestCaseResult> getResults();

Get results.

Parameters

return

Set of results of test case executions.

B.1.1.28.12. getRunId()
public abstract String getRunId();

Get id of test run.

Parameters

return

The id of the test run

B.1.1.28.13. getSut()
public abstract KlarosSUTImplementation getSut();

Get the tested system version.

Parameters

return

The SUT version which has been tested

B.1.1.28.14. getTestSuite()
public abstract KlarosTestSuite getTestSuite();

Get the test suite executed with this test run, if available.

Parameters

return

The test suite executed with this test run

B.1.1.28.15. getTimestamp()
public abstract Date getTimestamp();

Get timestamp.

Parameters

return

The time the test run has been executed as Date object

B.1.1.28.16. getWork()
public abstract Set<KlarosJobTimeBlock> getWork();

Get the job time blocks of this test run.

Parameters

return

Set of job time blocks.

B.1.1.28.17. isPending()
public abstract boolean isPending();

Checks if the test run is pending. This means that it has not yet been completely executed.

Parameters

return

true, if the test run is pending

B.1.1.29. IKlarosTestSegment

This interface provides access to a test segment.

B.1.1.29.1. Synopsis
 public interface IKlarosTestSegment<T,S extends Revision> extends, IKlarosTestStepContainer<T, S> {
// Public Methods  public abstract String getDescription();
  public abstract String getNote();
  public abstract String getShortname();
  public abstract List<KlarosTestCaseStep> getSteps();
}
B.1.1.29.2. getDescription()
public abstract String getDescription();

Get the description.

Parameters

return

The description of this test segment.

B.1.1.29.3. getNote()
public abstract String getNote();

Get the note.

Parameters

return

The action of this test case segment.

B.1.1.29.4. getShortname()
public abstract String getShortname();

Get the shortname.

Parameters

return

The shortname of this test case segment.

B.1.1.29.5. getSteps()
public abstract List<KlarosTestCaseStep> getSteps();

Get the test case steps.

Parameters

return

list of steps of this test segment.

B.1.1.30. IKlarosTestStepContainer

This interface provides access to a test step containers.

B.1.1.30.1. Synopsis
 public interface IKlarosTestStepContainer<T,S extends Revision> extends, IKlarosRevision<T, S> {
// Public Methods  public abstract String getExpectedResult();
  public abstract String getPostcondition();
  public abstract String getPrecondition();
}
B.1.1.30.2. getExpectedResult()
public abstract String getExpectedResult();

Get the expected result.

Parameters

return

The expected result of this test case step.

B.1.1.30.3. getPostcondition()
public abstract String getPostcondition();

Get the postcondition.

Parameters

return

The postcondition of this test case step.

B.1.1.30.4. getPrecondition()
public abstract String getPrecondition();

Get the precondition.

Parameters

return

The precondition of this test case step.

B.1.1.31. IKlarosTestSuite

This interface provides access to data of a test suite.

B.1.1.31.1. Synopsis
 public interface IKlarosTestSuite<T,S extends Revision> extends, IKlarosRevision<T, S> {
// Public Methods  public abstract Set<KlarosAttachment> getAttachments();
  public abstract Set<KlarosTestSuiteCategoryNode> getCategories();
  public abstract KlarosConfiguration getConfiguration();
  public abstract List<KlarosTestSuiteResult> getResults();
  public abstract String getShortname();
  public abstract KlarosSUTImplementation getSut();
  public abstract List<KlarosTestCase> getTestCases();
  public abstract Integer getTestSuiteResultCount();
}
B.1.1.31.2. getAttachments()
public abstract Set<KlarosAttachment> getAttachments();

Gets the attachments associated with this test suite.

Parameters

return

the attachments

B.1.1.31.3. getCategories()
public abstract Set<KlarosTestSuiteCategoryNode> getCategories();

Gets the categories this object belongs to. Each category node will belong to a different category tree.

Parameters

return

the category nodes

B.1.1.31.4. getConfiguration()
public abstract KlarosConfiguration getConfiguration();

Get configuration.

Parameters

return

The related configuration.

B.1.1.31.5. getResults()
public abstract List<KlarosTestSuiteResult> getResults();

Get test suite results.

Parameters

return

Set of results of executions of this test suite.

B.1.1.31.6. getShortname()
public abstract String getShortname();

Get the short name of the test suite.

Parameters

return

String of the description of the test suite.

B.1.1.31.7. getSut()
public abstract KlarosSUTImplementation getSut();

Get the description of the test suite.

Parameters

return

String of the description of the test suite.

B.1.1.31.8. getTestCases()
public abstract List<KlarosTestCase> getTestCases();

Get the executables of this test suite.

Parameters

return

Set of test cases of this test suite.

B.1.1.31.9. getTestSuiteResultCount()
public abstract Integer getTestSuiteResultCount();

Return the number of test suite results in this test suite.

Parameters

return

The number of test suite results in this test suite.

B.1.1.32. IKlarosTestSuiteResult

This interface provides access to data of a test suite result.

B.1.1.32.1. Synopsis
 public interface IKlarosTestSuiteResult extends, IKlarosNamedEntity {
// Public Methods  public abstract KlarosJob getJob();
  public abstract Set<KlarosTestCaseResult> getResults();
  public abstract KlarosTestRun getTestRun();
  public abstract KlarosTestSuite getTestSuite();
  public abstract boolean isPending();
}
B.1.1.32.2. getJob()
public abstract KlarosJob getJob();

Gets the job this test suite result belongs if one exists.

Parameters

return

the associated job

B.1.1.32.3. getResults()
public abstract Set<KlarosTestCaseResult> getResults();

Gets the test case results for this test suite result. The list is sorted by the position in which the test cases appear in the test suite.

Parameters

return

the results

B.1.1.32.4. getTestRun()
public abstract KlarosTestRun getTestRun();

Get the test run for this result.

Parameters

return

the test run

B.1.1.32.5. getTestSuite()
public abstract KlarosTestSuite getTestSuite();

Get the related test suite.

Parameters

return

The test suite that has been executed to get this result.

B.1.1.32.6. isPending()
public abstract boolean isPending();

Checks if the test suite result is pending. This means that it has not yet been completely executed.

Parameters

return

true, if the test suite result is pending

B.1.1.33. IKlarosUser

The user object.

B.1.1.33.1. Synopsis
 public interface IKlarosUser {
// Public Methods  public abstract String getEmail();
  public abstract String getRole();
  public abstract String getUsername();
}
B.1.1.33.2. getEmail()
public abstract String getEmail();

The email address of this user.

Parameters

return

the email address

B.1.1.33.3. getRole()
public abstract String getRole();

The role name of this user.

Parameters

return

the role name

B.1.1.33.4. getUsername()
public abstract String getUsername();

The user name of this user as used when logging in.

Parameters

return

the user name

B.1.1.34. KlarosAttachment

This class provides access to binary attachment.

B.1.1.34.1. Synopsis
 public final class KlarosAttachment extends, KlarosWrapper<KlarosAttachment, Attachment>
    implements, IKlarosAttachment {
// Public Methods  public String getMimeType();
  public String getName();
  public long getSize();
  public String getUuid();
  public String getVersion();
}

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.35. KlarosCategoryNode

A generic category node.

B.1.1.35.1. Synopsis
 public abstract class KlarosCategoryNode<I,T,W extends KlarosCategoryNode<I, T, W, P>,P extends CategoryNode> extends, KlarosWrapper<W, P>
    implements, IKlarosCategoryNode<I, T, W, P> {
// Public Constructors  public KlarosCategoryNode(wrapped);
// Public Methods  public getCategoryTree();
  public String getDescription();
  public W extends KlarosCategoryNode<I, T, W, P> getParent();
  public String getShortname();
  public List<W> getSubCategories();
}

Direct known subclasses: de.­verit.­klaros.­core.­model.­KlarosIterationCategoryNode , de.­verit.­klaros.­core.­model.­KlarosRequirementCategoryNode , de.­verit.­klaros.­core.­model.­KlarosSUTImplementationCategoryNode , de.­verit.­klaros.­core.­model.­KlarosTestCaseCategoryNode , de.­verit.­klaros.­core.­model.­KlarosTestEnvironmentCategoryNode , de.­verit.­klaros.­core.­model.­KlarosTestSuiteCategoryNode

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.35.2. KlarosCategoryNode(P)
public KlarosCategoryNode(wrapped);

Instantiates a new klaros category node.

Parameters

wrapped

the wrapped class

B.1.1.36. KlarosCategoryTree

A generic category tree.

B.1.1.36.1. Synopsis
 public class KlarosCategoryTree<I,W extends KlarosCategoryTree<I, W, P, X, Y>,P extends CategoryTree,X extends KlarosCategoryNode<I, W, X, Y>,Y extends CategoryNode> extends, 
                                KlarosNamedEntity<W, P>
                            
    implements, IKlarosCategoryTree<I, W, P, X, Y> {
// Public Methods  public String getDescription();
  public KlarosCategoryNode<I, W, X, Y> getRootNode();
  public String getShortname();
}

Direct known subclasses: de.­verit.­klaros.­core.­model.­KlarosIterationCategoryTree , de.­verit.­klaros.­core.­model.­KlarosRequirementCategoryTree , de.­verit.­klaros.­core.­model.­KlarosSUTImplementationCategoryTree , de.­verit.­klaros.­core.­model.­KlarosTestCaseCategoryTree , de.­verit.­klaros.­core.­model.­KlarosTestEnvironmentCategoryTree , de.­verit.­klaros.­core.­model.­KlarosTestSuiteCategoryTree

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.37. KlarosConfiguration

This class provides access to the information stored for project's configuration.

B.1.1.37.1. Synopsis
 public class KlarosConfiguration extends, 
                                KlarosLabeledObject<KlarosConfiguration, Configuration>
                            
    implements, IKlarosConfiguration, Comparable<KlarosConfiguration> {
// Public Methods  public int compareTo(KlarosConfiguration o);
  public boolean equals(Object o);
  public String getDescription();
  public Set<KlarosTestEnvironment> getEnvs();
  public Set<KlarosIssueManagement> getIssueManagementSystems();
  public Set<KlarosIterationCategoryTree> getIterationCategoryTrees();
  public Set<KlarosIteration> getIterations();
  public Set<KlarosJob> getJobs();
  public Set<KlarosRequirementCategoryTree> getRequirementCategoryTrees();
  public KlarosRequirementManagement getRequirementManagementSystems();
  public Set<KlarosRequirement> getRequirements();
  public Set<KlarosSUTImplementation> getSuts();
  public Set<KlarosSUTImplementationCategoryTree> getSystemUnderTestCategoryTrees();
  public Set<KlarosTestCaseCategoryTree> getTestCaseCategoryTrees();
  public Set<KlarosTestCase> getTestCases();
  public Set<KlarosTestEnvironmentCategoryTree> getTestEnvironmentCategoryTrees();
  public Set<KlarosTestRun> getTestRuns();
  public Set<KlarosTestSuiteCategoryTree> getTestSuiteCategoryTrees();
  public Set<KlarosTestSuite> getTestSuites();
  public int hashCode();
  public Boolean isSecured();
}

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.38. KlarosEnumValue

A Custom property enumeration value.

B.1.1.38.1. Synopsis
 public final class KlarosEnumValue extends, KlarosWrapper<KlarosEnumValue, EnumValue>
    implements, IKlarosEnumValue {
// Public Methods  public String getValue();
}

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.39. KlarosIssue

This class provides access to the information stored for detected issues.

B.1.1.39.1. Synopsis
 public final class KlarosIssue extends, KlarosWrapper<KlarosIssue, Issue>
    implements, IKlarosIssue {
// Public Methods  public KlarosSUTImplementation getAcceptedIn();
  public Date getCreationDate();
  public String getDescription();
  public String getExternalId();
  public KlarosIssueManagement getIssueManagement();
  public Date getLastSynched();
  public Date getLastUpdated();
  public String getOwner();
  public String getPriority();
  public String getRemoteBrowseUrl();
  public String getReporter();
  public String getResolution();
  public String getState();
  public String getSubject();
  public Set<KlarosTestCase> getTestCases();
  public boolean isResolved();
}

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.40. KlarosIssueManagement

An issue management system.

B.1.1.40.1. Synopsis
 public class KlarosIssueManagement extends, KlarosWrapper<KlarosIssueManagement, IssueManagement>
    implements, IKlarosIssueManagement {
// Public Methods  public String getDescription();
  public Set<KlarosIssue> getIssues();
  public String getName();
  public String getProject();
  public String getType();
  public String getUrl();
}

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.41. KlarosIteration

An iteration in a project.

B.1.1.41.1. Synopsis
 public final class KlarosIteration extends, 
                                KlarosNamedEntity<KlarosIteration, Iteration>
                            
    implements, IKlarosIteration, Comparable<KlarosIteration> {
// Public Methods  public int compareTo(KlarosIteration o);
  public boolean equals(Object o);
  public Set<KlarosAttachment> getAttachments();
  public Set<KlarosIterationCategoryNode> getCategories();
  public StateDef getCurrentState();
  public String getDescription();
  public Date getDueDate();
  public Set<KlarosTestEnvironment> getEnvs();
  public Set<KlarosJob> getJobs();
  public String getShortname();
  public Date getStartDate();
  public String getSuccessCriteria();
  public Set<KlarosSUTImplementation> getSuts();
  public Set<KlarosTestRun> getTestRuns();
  public int hashCode();
}

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.42. KlarosIterationCategoryNode

An category node for iteration implementations.

B.1.1.42.1. Synopsis
 public final class KlarosIterationCategoryNode extends, 
                                KlarosCategoryNode<KlarosIteration, KlarosIterationCategoryTree, KlarosIterationCategoryNode, IterationCategoryNode>
                             {
// Public Constructors  public KlarosIterationCategoryNode(IterationCategoryNode wrapped);
// Public Methods  public List<KlarosIteration> getReferences();
}

Methods inherited from de.verit.klaros.core.model.KlarosCategoryNode: getCategoryTree , getDescription , getParent , getShortname , getSubCategories

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.42.2. KlarosIterationCategoryNode(IterationCategoryNode)
public KlarosIterationCategoryNode(IterationCategoryNode wrapped);

Instantiates a new klaros iteration category node.

Parameters

wrapped

the wrapped class

B.1.1.43. KlarosIterationCategoryTree

An category tree for Iteration implementations.

B.1.1.43.1. Synopsis
 public class KlarosIterationCategoryTree extends, 
                                KlarosCategoryTree<KlarosIteration, KlarosIterationCategoryTree, IterationCategoryTree, KlarosIterationCategoryNode, IterationCategoryNode>
                             {
}

Methods inherited from de.verit.klaros.core.model.KlarosCategoryTree: getDescription , getRootNode , getShortname

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.44. KlarosJob

This class provides access to the information stored for jobs.

B.1.1.44.1. Synopsis
 public final class KlarosJob extends, 
                                KlarosNamedEntity<KlarosJob, Job>
                            
    implements, IKlarosJob, Comparable<KlarosJob> {
// Public Methods  public int compareTo(KlarosJob o);
  public boolean equals(Object o);
  public Set<KlarosAttachment> getAttachments();
  public KlarosConfiguration getConfiguration();
  public Set<KlarosJobDependency> getDependentJobs();
  public String getDescription();
  public Date getDueDate();
  public KlarosTestEnvironment getEnv();
  public String getEstimatedTime();
  public Long getEstimatedTimeInMilliseconds();
  public JobPriority getJobPriority();
  public JobStatus getJobStatus();
  public JobType getJobType();
  public KlarosJob getParent();
  public Integer getProgress();
  public Set<KlarosJobDependency> getRequiredJobs();
  public Date getStartDate();
  public List<KlarosJob> getSubJobs();
  public Integer getSuccessRate();
  public String getSummary();
  public KlarosSUTImplementation getSut();
  public KlarosTestCase getTestCase();
  public Set<KlarosTestRun> getTestRuns();
  public KlarosTestSuite getTestSuite();
  public List<KlarosJobUpdateAction> getUpdateAction();
  public List<KlarosJobTimeBlock> getWork();
  public int hashCode();
}

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.45. KlarosJobDependency

This class provides access to the information stored for jobs.

B.1.1.45.1. Synopsis
 public final class KlarosJobDependency extends, KlarosWrapper<KlarosJobDependency, JobDependency>
    implements, IKlarosJobDependency, Comparable<KlarosJobDependency> {
// Public Methods  public int compareTo(KlarosJobDependency o);
  public boolean equals(Object o);
  public Set<JobStatus> getJobStates();
  public UUID getKey();
  public Integer getProgress();
  public KlarosJob getRequiredBy();
  public KlarosJob getRequires();
  public Integer getSuccessRate();
  public Set<Verdict> getVerdicts();
  public int hashCode();
}

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.46. KlarosJobTimeBlock

The implementation of a job time block, measuring a unit of work done for a job.

B.1.1.46.1. Synopsis
 public final class KlarosJobTimeBlock extends, KlarosWrapper<KlarosJobTimeBlock, JobTimeBlock>
    implements, IKlarosJobTimeBlock, Comparable<KlarosJobTimeBlock> {
// Public Methods  public int compareTo(KlarosJobTimeBlock o);
  public boolean equals(Object o);
  public String getDescription();
  public Date getDoneAt();
  public String getDuration();
  public Long getDurationInMilliseconds();
  public String getEstimatedTimeLeft();
  public Long getEstimatedTimeLeftInMilliseconds();
  public KlarosJob getJob();
  public KlarosTestRun getTestRun();
  public int hashCode();
}

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.47. KlarosJobUpdateAction

The model of a job comment.

B.1.1.47.1. Synopsis
 public final class KlarosJobUpdateAction extends, KlarosWrapper<KlarosJobUpdateAction, JobUpdateAction>
    implements, IKlarosJobUpdateAction, Comparable<KlarosJobUpdateAction> {
// Public Methods  public int compareTo(KlarosJobUpdateAction o);
  public boolean equals(Object o);
  public String getChanges();
  public String getDescription();
  public int hashCode();
}

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.48. KlarosLabeledObject

This class encapsulates the (dynamic) properties of a klaros object.

B.1.1.48.1. Synopsis
 public abstract class KlarosLabeledObject<T,S extends LabeledObject> extends, KlarosWrapper<T, S>
    implements, IKlarosLabeledObject {
// Public Methods  public Iterable<T> asIterable();
  public Date getCreated();
  public KlarosUser getCreator();
  public UUID getKey();
  public KlarosUser getLastEditor();
  public Date getLastUpdated();
  public String getName();
  public boolean isEnabled();
}

Direct known subclasses: de.­verit.­klaros.­core.­model.­KlarosConfiguration , de.­verit.­klaros.­core.­model.­KlarosNamedEntity , de.­verit.­klaros.­core.­model.­KlarosUser

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.49. KlarosNamedEntity

This class encapsulates the (dynamic) properties of a klaros object.

B.1.1.49.1. Synopsis
 public abstract class KlarosNamedEntity<T,S extends NamedEntity> extends, 
                                KlarosLabeledObject<T, S>
                            
    implements, IKlarosNamedEntity {
// Public Methods  public KlarosUser getAssignee();
  public List<IKlarosProperty> getProperties();
  public boolean isDefinedProperty(String propertyName);
}

Direct known subclasses: de.­verit.­klaros.­core.­model.­KlarosCategoryTree , de.­verit.­klaros.­core.­model.­KlarosIteration , de.­verit.­klaros.­core.­model.­KlarosJob , de.­verit.­klaros.­core.­model.­KlarosRevision , de.­verit.­klaros.­core.­model.­KlarosSUTImplementation , de.­verit.­klaros.­core.­model.­KlarosTestCaseResult , de.­verit.­klaros.­core.­model.­KlarosTestCaseStepResult , de.­verit.­klaros.­core.­model.­KlarosTestEnvironment , de.­verit.­klaros.­core.­model.­KlarosTestRun , de.­verit.­klaros.­core.­model.­KlarosTestSuiteResult

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.50. KlarosProperty

The Klaros property class.

B.1.1.50.1. Synopsis
 public final class KlarosPropertyimplements, IKlarosProperty {
// Public Methods  public String getName();
  public String getValue();
}

Methods inherited from java.lang.Object: equals , getClass , hashCode , notify , notifyAll , toString , wait

B.1.1.51. KlarosRequirement

This class provides access to the information stored for requirements.

B.1.1.51.1. Synopsis
 public final class KlarosRequirement extends, 
                                KlarosRevision<KlarosRequirement, Requirement>
                            
    implements, IKlarosRequirement<KlarosRequirement, Requirement> {
// Public Methods  public Set<KlarosAttachment> getAttachments();
  public Set<KlarosRequirementCategoryNode> getCategories();
  public KlarosConfiguration getConfiguration();
  public Set<KlarosTestCase> getCoveringTestCases();
  public String getDescription();
  public Set<String> getExternalNames();
  public String getExternalStatus();
  public Set<KlarosIteration> getIterations();
  public KlarosRequirement getPredecessor();
  public RequirementPriority getPriority();
  public KlarosRequirement getRoot();
  public String getShortname();
  public String getState();
  public KlarosRequirement getSuccessor();
  public String getSummary();
}

Methods inherited from de.verit.klaros.core.model.KlarosRevision: getRevisionComment , getRevisionId

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.51.2. getExternalStatus()
public String getExternalStatus();

The external status of this requirement.

Parameters

return

the external status

B.1.1.52. KlarosRequirementCategoryNode

An category node for requirement implementations.

B.1.1.52.1. Synopsis
 public final class KlarosRequirementCategoryNode extends, 
                                KlarosCategoryNode<KlarosRequirement, KlarosRequirementCategoryTree, KlarosRequirementCategoryNode, RequirementCategoryNode>
                             {
// Public Constructors  public KlarosRequirementCategoryNode(RequirementCategoryNode wrapped);
// Public Methods  public List<KlarosRequirement> getReferences();
}

Methods inherited from de.verit.klaros.core.model.KlarosCategoryNode: getCategoryTree , getDescription , getParent , getShortname , getSubCategories

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.52.2. KlarosRequirementCategoryNode(RequirementCategoryNode)
public KlarosRequirementCategoryNode(RequirementCategoryNode wrapped);

Instantiates a new klaros requirement category node.

Parameters

wrapped

the wrapped object

B.1.1.53. KlarosRequirementCategoryTree

An category tree for Requirement implementations.

B.1.1.53.1. Synopsis
 public final class KlarosRequirementCategoryTree extends, 
                                KlarosCategoryTree<KlarosRequirement, KlarosRequirementCategoryTree, RequirementCategoryTree, KlarosRequirementCategoryNode, RequirementCategoryNode>
                             {
}

Methods inherited from de.verit.klaros.core.model.KlarosCategoryTree: getDescription , getRootNode , getShortname

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.54. KlarosRequirementManagement

A requirement management system.

B.1.1.54.1. Synopsis
 public class KlarosRequirementManagement extends, KlarosWrapper<KlarosRequirementManagement, RequirementManagement>
    implements, IKlarosRequirementManagement {
// Public Methods  public String getDescription();
  public String getName();
  public String getProject();
  public Set<KlarosRequirement> getRequirements();
  public String getType();
  public String getUrl();
}

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.55. KlarosRevision

This class encapsulates the revision related information of a klaros object.

B.1.1.55.1. Synopsis
 public abstract class KlarosRevision<T,S extends Revision> extends, 
                                KlarosNamedEntity<T, S>
                            
    implements, IKlarosRevision<T, S> {
// Public Methods  public final String getRevisionComment();
  public final String getRevisionId();
}

Direct known subclasses: de.­verit.­klaros.­core.­model.­KlarosRequirement , de.­verit.­klaros.­core.­model.­KlarosTestCase , de.­verit.­klaros.­core.­model.­KlarosTestStepContainer , de.­verit.­klaros.­core.­model.­KlarosTestSuite

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.56. KlarosSUTImplementation

This class provides access to the information stored for systems under tests (SUT).

B.1.1.56.1. Synopsis
 public final class KlarosSUTImplementation extends, 
                                KlarosNamedEntity<KlarosSUTImplementation, SUTImplementation>
                            
    implements, IKlarosSUTImplementation, Comparable<KlarosSUTImplementation> {
// Public Methods  public int compareTo(KlarosSUTImplementation o);
  public boolean equals(Object o);
  public Set<KlarosAttachment> getAttachments();
  public Set<KlarosSUTImplementationCategoryNode> getCategories();
  public KlarosConfiguration getConfiguration();
  public Set<KlarosIssue> getIssues();
  public Set<KlarosIteration> getIterations();
  public String getProductversion();
  public Set<KlarosTestRun> getTestRuns();
  public int hashCode();
}

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.57. KlarosSUTImplementationCategoryNode

An category node for SUT implementations.

B.1.1.57.1. Synopsis
 public final class KlarosSUTImplementationCategoryNode extends, 
                                KlarosCategoryNode<KlarosSUTImplementation, KlarosSUTImplementationCategoryTree, KlarosSUTImplementationCategoryNode, SUTCategoryNode>
                             {
// Public Constructors  public KlarosSUTImplementationCategoryNode(SUTCategoryNode wrapped);
// Public Methods  public List<KlarosSUTImplementation> getReferences();
}

Methods inherited from de.verit.klaros.core.model.KlarosCategoryNode: getCategoryTree , getDescription , getParent , getShortname , getSubCategories

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.57.2. KlarosSUTImplementationCategoryNode(SUTCategoryNode)
public KlarosSUTImplementationCategoryNode(SUTCategoryNode wrapped);

Instantiates a new klaros sut implementation category node.

Parameters

wrapped

the wrapped class

B.1.1.58. KlarosSUTImplementationCategoryTree

An category tree for SUT implementations.

B.1.1.58.1. Synopsis
 public final class KlarosSUTImplementationCategoryTree extends, 
                                KlarosCategoryTree<KlarosSUTImplementation, KlarosSUTImplementationCategoryTree, SUTCategoryTree, KlarosSUTImplementationCategoryNode, SUTCategoryNode>
                             {
}

Methods inherited from de.verit.klaros.core.model.KlarosCategoryTree: getDescription , getRootNode , getShortname

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.59. KlarosTestCase

This class provides access to the information stored for a test case.

B.1.1.59.1. Synopsis
 public final class KlarosTestCase extends, 
                                KlarosRevision<KlarosTestCase, TestCase>
                            
    implements, IKlarosTestCase<KlarosTestCase, TestCase>, Comparable<KlarosTestCase> {
// Public Methods  public int compareTo(KlarosTestCase o);
  public boolean equals(Object o);
  public TestAreatopic getArea();
  public Set<KlarosAttachment> getAttachments();
  public Set<KlarosTestCaseCategoryNode> getCategories();
  public KlarosConfiguration getConfiguration();
  public Set<KlarosRequirement> getCovers();
  public String getDependency();
  public String getDescription();
  public TestDesignTechnique getDesignTechnique();
  public List<KlarosIssue> getDetectedIssues();
  public String getDocbase();
  public String getEvaluation();
  public TestExecutionMethod getExecution();
  public String getExpectedResult();
  public Set<String> getExternalNames();
  public List<KlarosJob> getJobs();
  public TestLevel getLevel();
  public String getNote();
  public String getPostcondition();
  public String getPrecondition();
  public KlarosTestCase getPredecessor();
  public TestPriority getPriority();
  public Set<KlarosTestCaseResult> getResults();
  public KlarosTestCase getRoot();
  public String getShortname();
  public String getState();
  @Deprecated public String getStateName(KlarosSUTImplementation sut);
  public KlarosTestCase getSuccessor();
  public String getTeam();
  public List<KlarosTestCaseStep> getTestCaseSteps();
  public TestAreatopic getTestType();
  public String getTraceability();
  public TestVariety getVariety();
  public int hashCode();
}

Methods inherited from de.verit.klaros.core.model.KlarosRevision: getRevisionComment , getRevisionId

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.60. KlarosTestCaseCategoryNode

A category node for test cases.

B.1.1.60.1. Synopsis
 public final class KlarosTestCaseCategoryNode extends, 
                                KlarosCategoryNode<KlarosTestCase, KlarosTestCaseCategoryTree, KlarosTestCaseCategoryNode, TestCaseCategoryNode>
                             {
// Public Constructors  public KlarosTestCaseCategoryNode(TestCaseCategoryNode wrapped);
// Public Methods  public List<KlarosTestCase> getReferences();
}

Methods inherited from de.verit.klaros.core.model.KlarosCategoryNode: getCategoryTree , getDescription , getParent , getShortname , getSubCategories

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.60.2. KlarosTestCaseCategoryNode(TestCaseCategoryNode)
public KlarosTestCaseCategoryNode(TestCaseCategoryNode wrapped);

Instantiates a new klaros test case category node.

Parameters

wrapped

the wrapped class

B.1.1.61. KlarosTestCaseCategoryTree

A category node for test cases.

B.1.1.61.1. Synopsis
 public final class KlarosTestCaseCategoryTree extends, 
                                KlarosCategoryTree<KlarosTestCase, KlarosTestCaseCategoryTree, TestCaseCategoryTree, KlarosTestCaseCategoryNode, TestCaseCategoryNode>
                             {
}

Methods inherited from de.verit.klaros.core.model.KlarosCategoryTree: getDescription , getRootNode , getShortname

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.62. KlarosTestCaseResult

This class provides access to the information stored for test case results.

B.1.1.62.1. Synopsis
 public final class KlarosTestCaseResult extends, 
                                KlarosNamedEntity<KlarosTestCaseResult, TestCaseResult>
                            
    implements, IKlarosTestCaseResult, Comparable<KlarosTestCaseResult> {
// Public Methods  public int compareTo(KlarosTestCaseResult o);
  public boolean equals(Object o);
  public Set<KlarosAttachment> getAttachments();
  public String getDescription();
  public long getExecutionTime();
  public KlarosJob getJob();
  public List<KlarosTestCaseStepResult> getStepResults();
  public String getSummary();
  public KlarosTestCase getTestCase();
  public KlarosTestRun getTestRun();
  public Integer getTestSuitePosition();
  public KlarosTestSuiteResult getTestSuiteResult();
  public int hashCode();
  public boolean isError();
  public boolean isFailure();
  public boolean isPassed();
  public boolean isPending();
  public boolean isSkipped();
}

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.63. KlarosTestCaseStep

This class provides access to the information stored for test case steps.

B.1.1.63.1. Synopsis
 public final class KlarosTestCaseStep extends, 
                                KlarosTestStepContainer<KlarosTestCaseStep, TestStep>
                            
    implements, IKlarosTestCaseStep<KlarosTestCaseStep, TestStep> {
// Public Methods  public String getAction();
  public KlarosRevision<KlarosTestCaseStep, TestStep> getPredecessor();
  public KlarosRevision<KlarosTestCaseStep, TestStep> getRoot();
  public KlarosRevision<KlarosTestCaseStep, TestStep> getSuccessor();
}

Methods inherited from de.verit.klaros.core.model.KlarosTestStepContainer: getExpectedResult , getPostcondition , getPrecondition

Methods inherited from de.verit.klaros.core.model.KlarosRevision: getRevisionComment , getRevisionId

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.64. KlarosTestCaseStepResult

This class provides access to the information stored for test case step results.

B.1.1.64.1. Synopsis
 public final class KlarosTestCaseStepResult extends, 
                                KlarosNamedEntity<KlarosTestCaseStepResult, TestCaseStepResult>
                            
    implements, IKlarosTestCaseStepResult, Comparable<KlarosTestCaseStepResult> {
// Public Methods  public int compareTo(KlarosTestCaseStepResult o);
  public boolean equals(Object o);
  public String getAction();
  public String getDescription();
  public long getExecutionTime();
  public String getExpectedResult();
  public String getPostcondition();
  public String getPrecondition();
  public String getSummary();
  public KlarosTestCase getTestCase();
  public KlarosTestCaseResult getTestCaseResult();
  public KlarosTestRun getTestRun();
  public int hashCode();
  public boolean isError();
  public boolean isFailure();
  public boolean isPassed();
  public boolean isSkipped();
}

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.65. KlarosTestEnvironment

This class provides access to the information stored for test environments.

B.1.1.65.1. Synopsis
 public final class KlarosTestEnvironment extends, 
                                KlarosNamedEntity<KlarosTestEnvironment, TestEnvironment>
                            
    implements, IKlarosTestEnvironment, Comparable<KlarosTestEnvironment> {
// Public Methods  public int compareTo(KlarosTestEnvironment o);
  public boolean equals(Object o);
  public Set<KlarosAttachment> getAttachments();
  public Set<KlarosTestEnvironmentCategoryNode> getCategories();
  public String getDescription();
  public Set<KlarosIteration> getIterations();
  public Set<KlarosTestRun> getTestRuns();
  public int hashCode();
}

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.66. KlarosTestEnvironmentCategoryNode

A category node for test environments.

B.1.1.66.1. Synopsis
 public final class KlarosTestEnvironmentCategoryNode extends, 
                                KlarosCategoryNode<KlarosTestEnvironment, KlarosTestEnvironmentCategoryTree, KlarosTestEnvironmentCategoryNode, TestEnvironmentCategoryNode>
                             {
// Public Constructors  public KlarosTestEnvironmentCategoryNode(TestEnvironmentCategoryNode wrapped);
// Public Methods  public List<KlarosTestEnvironment> getReferences();
}

Methods inherited from de.verit.klaros.core.model.KlarosCategoryNode: getCategoryTree , getDescription , getParent , getShortname , getSubCategories

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.66.2. KlarosTestEnvironmentCategoryNode(TestEnvironmentCategoryNode)
public KlarosTestEnvironmentCategoryNode(TestEnvironmentCategoryNode wrapped);

Instantiates a new klaros test environment category node.

Parameters

wrapped

the wrapped class

B.1.1.67. KlarosTestEnvironmentCategoryTree

A category node for test environments.

B.1.1.67.1. Synopsis
 public final class KlarosTestEnvironmentCategoryTree extends, 
                                KlarosCategoryTree<KlarosTestEnvironment, KlarosTestEnvironmentCategoryTree, TestEnvironmentCategoryTree, KlarosTestEnvironmentCategoryNode, TestEnvironmentCategoryNode>
                             {
}

Methods inherited from de.verit.klaros.core.model.KlarosCategoryTree: getDescription , getRootNode , getShortname

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.68. KlarosTestExecutable

This class provides access to the information stored for test cases.

B.1.1.68.1. Synopsis
 public final class KlarosTestExecutable extends, KlarosWrapper<KlarosTestExecutable, TestExecutable>
    implements, IKlarosTestExecutable {
}

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.69. KlarosTestRun

This class provides access to the information stored for test runs.

B.1.1.69.1. Synopsis
 public final class KlarosTestRun extends, 
                                KlarosNamedEntity<KlarosTestRun, TestRun>
                            
    implements, IKlarosTestRun, Comparable<KlarosTestRun> {
// Public Methods  public int compareTo(KlarosTestRun o);
  public boolean equals(Object o);
  public KlarosConfiguration getConfiguration();
  public KlarosTestEnvironment getEnv();
  public KlarosIteration getIteration();
  public KlarosJob getJob();
  public int getNumberErrors();
  public int getNumberFailures();
  public int getNumberPassed();
  public int getNumberSkipped();
  public String getRelatedSummary();
  public Set<KlarosTestCaseResult> getResults();
  public String getRunId();
  public KlarosSUTImplementation getSut();
  public KlarosTestSuite getTestSuite();
  public Date getTimestamp();
  public Set<KlarosJobTimeBlock> getWork();
  public int hashCode();
  public boolean isPending();
}

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.70. KlarosTestSegment

This class provides access to the information stored for test segments.

B.1.1.70.1. Synopsis
 public final class KlarosTestSegment extends, 
                                KlarosTestStepContainer<KlarosTestSegment, TestSegment>
                            
    implements, IKlarosTestSegment<KlarosTestSegment, TestSegment> {
// Public Methods  public String getDescription();
  public String getNote();
  public KlarosRevision<KlarosTestSegment, TestSegment> getPredecessor();
  public KlarosRevision<KlarosTestSegment, TestSegment> getRoot();
  public String getShortname();
  public List<KlarosTestCaseStep> getSteps();
  public KlarosRevision<KlarosTestSegment, TestSegment> getSuccessor();
}

Methods inherited from de.verit.klaros.core.model.KlarosTestStepContainer: getExpectedResult , getPostcondition , getPrecondition

Methods inherited from de.verit.klaros.core.model.KlarosRevision: getRevisionComment , getRevisionId

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.71. KlarosTestStepContainer

This class provides access to the information stored for test step containers.

B.1.1.71.1. Synopsis
 public abstract class KlarosTestStepContainer<T,S extends TestStepContainer> extends, 
                                KlarosRevision<T, S>
                            
    implements, IKlarosTestStepContainer<T, S> {
// Public Methods  public String getExpectedResult();
  public String getPostcondition();
  public String getPrecondition();
}

Direct known subclasses: de.­verit.­klaros.­core.­model.­KlarosTestCaseStep , de.­verit.­klaros.­core.­model.­KlarosTestSegment

Methods inherited from de.verit.klaros.core.model.KlarosRevision: getRevisionComment , getRevisionId

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.72. KlarosTestSuite

This class provides access to the information stored for test suites.

B.1.1.72.1. Synopsis
 public final class KlarosTestSuite extends, 
                                KlarosRevision<KlarosTestSuite, TestSuite>
                            
    implements, IKlarosTestSuite<KlarosTestSuite, TestSuite> {
// Public Methods  public Set<KlarosAttachment> getAttachments();
  public Set<KlarosTestSuiteCategoryNode> getCategories();
  public KlarosConfiguration getConfiguration();
  public KlarosTestSuite getPredecessor();
  public List<KlarosTestSuiteResult> getResults();
  public KlarosTestSuite getRoot();
  public String getShortname();
  public KlarosTestSuite getSuccessor();
  public KlarosSUTImplementation getSut();
  public List<KlarosTestCase> getTestCases();
  public Integer getTestSuiteResultCount();
}

Methods inherited from de.verit.klaros.core.model.KlarosRevision: getRevisionComment , getRevisionId

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.73. KlarosTestSuiteCategoryNode

A category node for test suites.

B.1.1.73.1. Synopsis
 public final class KlarosTestSuiteCategoryNode extends, 
                                KlarosCategoryNode<KlarosTestSuite, KlarosTestSuiteCategoryTree, KlarosTestSuiteCategoryNode, TestSuiteCategoryNode>
                             {
// Public Constructors  public KlarosTestSuiteCategoryNode(TestSuiteCategoryNode wrapped);
// Public Methods  public List<KlarosTestSuite> getReferences();
}

Methods inherited from de.verit.klaros.core.model.KlarosCategoryNode: getCategoryTree , getDescription , getParent , getShortname , getSubCategories

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.73.2. KlarosTestSuiteCategoryNode(TestSuiteCategoryNode)
public KlarosTestSuiteCategoryNode(TestSuiteCategoryNode wrapped);

Instantiates a new klaros test suite category node.

Parameters

wrapped

the wrapped class

B.1.1.74. KlarosTestSuiteCategoryTree

A category node for test suites.

B.1.1.74.1. Synopsis
 public final class KlarosTestSuiteCategoryTree extends, 
                                KlarosCategoryTree<KlarosTestSuite, KlarosTestSuiteCategoryTree, TestSuiteCategoryTree, KlarosTestSuiteCategoryNode, TestSuiteCategoryNode>
                             {
}

Methods inherited from de.verit.klaros.core.model.KlarosCategoryTree: getDescription , getRootNode , getShortname

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.75. KlarosTestSuiteResult

This class provides access to the information stored for test suite results.

B.1.1.75.1. Synopsis
 public final class KlarosTestSuiteResult extends, 
                                KlarosNamedEntity<KlarosTestSuiteResult, TestSuiteResult>
                            
    implements, IKlarosTestSuiteResult, Comparable<KlarosTestSuiteResult> {
// Public Methods  public int compareTo(KlarosTestSuiteResult o);
  public boolean equals(Object o);
  public KlarosJob getJob();
  public Set<KlarosTestCaseResult> getResults();
  public KlarosTestRun getTestRun();
  public KlarosTestSuite getTestSuite();
  public int hashCode();
  public boolean isPending();
}

Methods inherited from de.verit.klaros.core.model.KlarosNamedEntity: getAssignee , getProperties , isDefinedProperty

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.1.1.76. KlarosUser

The user object.

B.1.1.76.1. Synopsis
 public class KlarosUser extends, 
                                KlarosLabeledObject<KlarosUser, User>
                            
    implements, IKlarosUser, Comparable<KlarosUser> {
// Public Methods  public int compareTo(KlarosUser o);
  public boolean equals(Object o);
  public String getEmail();
  public String getRole();
  public String getUsername();
  public int hashCode();
  public String toString();
}

Methods inherited from de.verit.klaros.core.model.KlarosLabeledObject: asIterable , getCreated , getCreator , getKey , getLastEditor , getLastUpdated , getName , isEnabled

Methods inherited from de.verit.klaros.core.model.KlarosWrapper: equals , getWrapped , hashCode

Methods inherited from java.lang.Object: getClass , notify , notifyAll , toString , wait

B.2. Scripting API-Reference

B.2.1. de.verit.klaros.scripting

B.2.1.1. KlarosContext

Context to provide all methods to the user to add own objects to the event context.

B.2.1.1.1. Synopsis
 public class KlarosContextimplements, IKlarosContext {
// Public Constructors  public KlarosContext(Context context,
                       UUID activeProjectId,
                       UUID activeIterationId,
                       KlarosQueryFactory factory,
                       ParameterContext parameters);

  public KlarosContext(Context context,
                       UUID activeProjectId,
                       UUID activeIterationId,
                       KlarosQueryFactory factory,
                       ParameterContext parameters,
                       Locale locale);

// Public Methods  public void add(String name,
                  Object value);

  public List<?> executeParameterizedQuery(String query);
  public List<?> executeQuery(String query);
  public KlarosIteration getActiveIteration();
  public KlarosConfiguration getActiveProject();
  public String getAttachmentUrl(String attachmentId);
  public String getAttachmentUrl(UUID attachmentId);
  public String getBrowsePageUrl(KlarosLabeledObject<?, ?> artifact);
  public Locale getLocale();
  public Parameter getParameter(String name);
  public Object getParameterValue(String name);
  public String getPrintPageUrl(KlarosLabeledObject<?, ?> artifact);
  public void setLocale(Locale locale);
}

Methods inherited from java.lang.Object: equals , getClass , hashCode , notify , notifyAll , toString , wait

B.2.1.1.2. KlarosContext(Context, UUID, UUID, KlarosQueryFactory, ParameterContext)
public KlarosContext(Context context,
                     UUID activeProjectId,
                     UUID activeIterationId,
                     KlarosQueryFactory factory,
                     ParameterContext parameters);

Create a KlarosContext.

Parameters

context

Gets passed by the relating servlet.

activeProjectId

the active project id

activeIterationId

the active iteration id if available

factory

the factory

parameters

the parameters

B.2.1.1.3. KlarosContext(Context, UUID, UUID, KlarosQueryFactory, ParameterContext, Locale)
public KlarosContext(Context context,
                     UUID activeProjectId,
                     UUID activeIterationId,
                     KlarosQueryFactory factory,
                     ParameterContext parameters,