Table of Contents
This interface provides access to a binary attachment.
public interface IKlarosAttachment {
// Public Methodspublic abstract String getMimeType();
public abstract String getName();
public abstract long getSize();
public abstract String getUuid();
public abstract String getVersion();
}
public abstract String getMimeType();
Gets the mime type of the attachment.
Parameters
|
the mime type |
public abstract String getName();
Gets the name of the attachment.
Parameters
|
the name |
public abstract long getSize();
Gets the size in bytes of this attachment.
Parameters
|
the size |
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
|
The uuid of this attachment. |
A Klaros Category Node.
public interface IKlarosCategoryNode<I,T,W,P> {
// Public Methodspublic abstract T getCategoryTree();
public abstract String getDescription();
public abstract W getParent();
public abstract List<I> getReferences();
public abstract String getShortname();
public abstract List<W> getSubCategories();
}
public abstract T getCategoryTree();
Gets the category tree.
Parameters
|
the category tree |
public abstract String getDescription();
Gets the description.
Parameters
|
the description |
public abstract W getParent();
Gets the parent category node.
Parameters
|
the parent |
public abstract List<I> getReferences();
Gets the references of this category.
Parameters
|
the references |
public abstract String getShortname();
Gets the shortname.
Parameters
|
the shortname |
A generic category tree.
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 Methodspublic abstract String getDescription();
public abstract KlarosCategoryNode<I, W, X, Y> getRootNode();
public abstract String getShortname();
}
public abstract String getDescription();
Gets the description.
Parameters
|
the description |
public abstract KlarosCategoryNode<I, W, X, Y> getRootNode();
Gets the root category node.
Parameters
|
the root |
This interface provides access to data of a test project.
public interface IKlarosConfiguration extends, IKlarosLabeledObject {
// Public Methodspublic 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();
}
public abstract String getDescription();
Returns the project description.
Parameters
|
The description of the project. |
public abstract Set<KlarosTestEnvironment> getEnvs();
Returns the project test environments.
Parameters
|
Set containing the test environments of the project. |
public abstract Set<KlarosIssueManagement> getIssueManagementSystems();
Returns the related issue management systems.
Parameters
|
Set containing the related issue management systems of the project. |
public abstract Set<KlarosIterationCategoryTree> getIterationCategoryTrees();
Returns the project requirement category trees.
Parameters
|
Set containing the iteration category trees of the project. |
public abstract Set<KlarosIteration> getIterations();
Returns the project iteration.
Parameters
|
KlarosSet containing the iteration objects of the project. |
public abstract Set<KlarosJob> getJobs();
Returns the project jobs.
Parameters
|
KlarosSet containing the job objects of the project. |
public abstract Set<KlarosRequirementCategoryTree> getRequirementCategoryTrees();
Returns the project requirement category trees.
Parameters
|
Set containing the requirement category trees of the project. |
public abstract KlarosRequirementManagement getRequirementManagementSystems();
Returns the related requirement management systems.
Parameters
|
Set containing the related requirement management systems of the project. |
public abstract Set<KlarosRequirement> getRequirements();
Returns the project requirements.
Parameters
|
Set containing the requirement objects of the project. |
public abstract Set<KlarosSUTImplementation> getSuts();
Returns the project SUTs (systems under test).
Parameters
|
KlarosSet containing the SUT objects of the project. |
public abstract Set<KlarosSUTImplementationCategoryTree> getSystemUnderTestCategoryTrees();
Returns the project system under test category trees.
Parameters
|
Set containing the system under test category trees of the project. |
public abstract Set<KlarosTestCaseCategoryTree> getTestCaseCategoryTrees();
Returns the project test case category trees.
Parameters
|
Set containing the test case category trees of the project. |
public abstract Set<KlarosTestCase> getTestCases();
Returns the project test cases.
Parameters
|
Set containing the test case objects of the project. |
public abstract Set<KlarosTestEnvironmentCategoryTree> getTestEnvironmentCategoryTrees();
Returns the project test environment category trees.
Parameters
|
Set containing the test environment category trees of the project. |
public abstract Set<KlarosTestRun> getTestRuns();
Returns the project test runs.
Parameters
|
Set containing the test run objects of the project. |
public abstract Set<KlarosTestSuiteCategoryTree> getTestSuiteCategoryTrees();
Returns the project test suite category trees.
Parameters
|
Set containing the test suite category trees of the project. |
public abstract Set<KlarosTestSuite> getTestSuites();
Returns the project test suites.
Parameters
|
Set containing the test suite objects of the project. |
A Custom property enumeration value.
public interface IKlarosEnumValue {
// Public Methodspublic abstract String getValue();
}
This interface provides access to externally stored information about an object.
public interface IKlarosExternalLink {
// Public Methodspublic abstract String getReference();
}
This interface provides access to a software issue.
public interface IKlarosIssue {
// Public Methodspublic 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();
}
public abstract KlarosSUTImplementation getAcceptedIn();
Gets the system under test this issue has been accepted/detected in.
Parameters
|
the system under test |
public abstract Date getCreationDate();
Gets the creation date of this issue.
Parameters
|
the creation date of this issue. |
public abstract String getDescription();
Get the description.
Parameters
|
The description of this issue. |
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
|
the external id |
public abstract KlarosIssueManagement getIssueManagement();
Gets the issue management this issue belongs to.
Parameters
|
the issue management |
public abstract Date getLastSynched();
Gets the last synchronization date of this issue.
Parameters
|
the last synched date of this issue. |
public abstract Date getLastUpdated();
Gets the last update date.
Parameters
|
the last update date |
public abstract String getOwner();
Gets the name of the owner/assignee of this issue.
Parameters
|
the owner name of this issue. |
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
|
the priority of this issue. |
public abstract String getRemoteBrowseUrl();
Returns an url to browse the issue in the remote issue management system.
Parameters
|
the remote browse url |
public abstract String getReporter();
Gets the name of the reporter of this issue.
Parameters
|
the reporter name of this issue. |
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
|
the resolution of this issue. |
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
|
the state string of this issue. |
public abstract String getSubject();
Gets the subject of this issue.
Parameters
|
the subject string of this issue. |
public abstract Set<KlarosTestCase> getTestCases();
Get the related test cases.
Parameters
|
|
The interface for accessing issue management systems.
public interface IKlarosIssueManagement {
// Public Methodspublic abstract String getDescription();
public abstract Set<KlarosIssue> getIssues();
public abstract String getName();
public abstract String getProject();
public abstract String getType();
public abstract String getUrl();
}
public abstract String getDescription();
Get the description of this system.
Parameters
|
The description |
public abstract Set<KlarosIssue> getIssues();
Gets the referenced issues of this system.
Parameters
|
the issues |
public abstract String getName();
Get the name of the object. This matches the id field visible in the UI.
Parameters
|
The name of the object. |
public abstract String getProject();
Get the optional project of this system.
Parameters
|
The project |
public abstract String getType();
Get the type of this system.
Parameters
|
The type |
An iteration in a project.
public interface IKlarosIteration extends, IKlarosNamedEntity {
// Public Methodspublic 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();
}
public abstract Set<KlarosAttachment> getAttachments();
Gets the attachments associated with this iteration.
Parameters
|
the attachments |
public abstract Set<KlarosIterationCategoryNode> getCategories();
Gets the categories this object belongs to. Each category node will belong to a different category tree.
Parameters
|
the category nodes |
public abstract StateDef getCurrentState();
Gets the current state.
Parameters
|
the current state |
public abstract String getDescription();
Gets the description.
Parameters
|
the description |
public abstract Date getDueDate();
Gets the due date.
Parameters
|
the due date |
public abstract Set<KlarosTestEnvironment> getEnvs();
Gets the test environments associated with this iteration.
Parameters
|
the test environments |
public abstract Set<KlarosJob> getJobs();
Gets the jobs associated with this iteration.
Parameters
|
the jobs |
public abstract String getShortname();
Gets the short name.
Parameters
|
the short name |
public abstract Date getStartDate();
Gets the start date.
Parameters
|
the start date |
public abstract String getSuccessCriteria();
Gets the success criteria.
Parameters
|
the success criteria |
public abstract Set<KlarosSUTImplementation> getSuts();
Gets the systems under test associated with this iteration.
Parameters
|
the systems under test |
This interface provides access to the data of a job.
public interface IKlarosJob extends, IKlarosNamedEntity {
// Public Methodspublic 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();
}
public abstract Set<KlarosAttachment> getAttachments();
Gets the attachments associated with this job.
Parameters
|
the attachments |
public abstract Set<KlarosJobDependency> getDependentJobs();
Gets the jobs depending on this jobs state.
Parameters
|
the dependent jobs |
public abstract Set<KlarosJobDependency> getRequiredJobs();
Gets the jobs on which states this job is depending on.
Parameters
|
the required jobs |
public abstract Set<KlarosTestRun> getTestRuns();
Gets the test runs executed with this job.
Parameters
|
the test runs |
public abstract List<KlarosJobUpdateAction> getUpdateAction();
Gets the update action list.
Parameters
|
the update action |
This interface provides access to the data of a job.
public interface IKlarosJobDependency {
// Public Methodspublic 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();
}
public abstract Set<JobStatus> getJobStates();
Gets the job states.
Parameters
|
the job states |
public abstract UUID getKey();
Get the internal key of the object. This key is globally unique.
Parameters
|
The internal key. |
public abstract KlarosJob getRequiredBy();
Gets the job this dependency is required by.
Parameters
|
the job this dependency is required by |
public abstract KlarosJob getRequires();
Returns the job this dependency requires for evaluation.
Parameters
|
the job this dependency requires |
The job time block defines a certain amount of time the job has been worked on.
public interface IKlarosJobTimeBlock {
// Public Methodspublic 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();
}
public abstract String getDescription();
Gets the work description.
Parameters
|
the work description |
public abstract Date getDoneAt();
Gets the date this work was done at.
Parameters
|
the start date |
public abstract String getDuration();
Gets the work duration as a String.
Parameters
|
the duration |
public abstract Long getDurationInMilliseconds();
Gets the work duration in milliseconds.
Parameters
|
the work duration in hours |
public abstract String getEstimatedTimeLeft();
Gets the estimated time left for this job as a String.
Parameters
|
the estimated time left |
public abstract Long getEstimatedTimeLeftInMilliseconds();
Gets the estimated time left for this job in milliseconds.
Parameters
|
the estimated time left in hours |
public abstract KlarosJob getJob();
Gets the job this job time block belongs to.
Parameters
|
the job |
This interface provides access to the job update action.
public interface IKlarosJobUpdateAction {
// Public Methodspublic abstract String getChanges();
public abstract String getDescription();
}
public abstract String getChanges();
Gets the changes.
Parameters
|
the changes |
This interface provides access to the fields of a labeled object.
public interface IKlarosLabeledObject {
// Public Methodspublic 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();
}
public abstract Iterable<?> asIterable();
Return this object as an iterable containing just this object.
Parameters
|
the iterable container |
public abstract UUID getKey();
Get the internal key of the object. This key is globally unique.
Parameters
|
The internal key. |
public abstract String getName();
Get the name of the object. This matches the id field visible in the UI.
Parameters
|
The name of the object. |
This interface provides access to data of a properties owner.
public interface IKlarosNamedEntity extends, IKlarosLabeledObject {
// Public Methodspublic abstract KlarosUser getAssignee();
public abstract List<IKlarosProperty> getProperties();
public abstract String getPropertyValue(String propertyName);
public abstract boolean isDefinedProperty(String propertyName);
}
public abstract List<IKlarosProperty> getProperties();
Gets the list of properties.
Parameters
|
the properties |
public abstract String getPropertyValue(String propertyName);
Gets the property value for the given property name.
Parameters
|
the property name |
|
the property value or null if not name is not present |
public abstract boolean isDefinedProperty(String propertyName);
Check if a property identified by given name is a defined property.
Parameters
|
The name of the property to check. |
|
|
A user defined property.
public interface IKlarosProperty {
// Public Methodspublic abstract String getName();
public abstract String getValue();
}
public abstract String getName();
Gets the property name.
Parameters
|
the property name |
This interface provides access to data of a requirement.
public interface IKlarosRequirement<T,S extends Revision> extends, IKlarosRevision<T, S> {
// Public Methodspublic 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();
}
public abstract Set<KlarosAttachment> getAttachments();
Gets the attachments associated with this requirement.
Parameters
|
the attachments |
public abstract Set<KlarosRequirementCategoryNode> getCategories();
Gets the categories this object belongs to. Each category node will belong to a different category tree.
Parameters
|
the category nodes |
public abstract KlarosConfiguration getConfiguration();
Get configuration.
Parameters
|
The related configuration. |
public abstract Set<KlarosTestCase> getCoveringTestCases();
Get test cases covering the requirement.
Parameters
|
|
public abstract String getDescription();
Get the description.
Parameters
|
the string |
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
|
the external names |
public abstract String getExternalStatus();
Gets the external status.
Parameters
|
the external status |
public abstract Set<KlarosIteration> getIterations();
Get the iterations this requirement is assigned to.
Parameters
|
|
public abstract RequirementPriority getPriority();
Gets the priority.
Parameters
|
the priority |
public abstract String getShortname();
Gets the shortname.
Parameters
|
the shortname |
public abstract String getState();
Gets the state.
Parameters
|
the state |
The interface for accessing requirements management systems.
public interface IKlarosRequirementManagement {
// Public Methodspublic abstract String getDescription();
public abstract String getName();
public abstract String getProject();
public abstract Set<KlarosRequirement> getRequirements();
public abstract String getType();
public abstract String getUrl();
}
public abstract String getDescription();
Get the description of this system.
Parameters
|
The description |
public abstract String getName();
Get the name of the object. This matches the id field visible in the UI.
Parameters
|
The name of the object. |
public abstract String getProject();
Get the optional project of this system.
Parameters
|
The project |
public abstract Set<KlarosRequirement> getRequirements();
Gets the referenced requirements of this system.
Parameters
|
the issues |
public abstract String getType();
Get the type of this system.
Parameters
|
The type |
This interface provides access to a revisionable Klaros object.
public interface IKlarosRevision<T,S extends Revision> extends, IKlarosNamedEntity {
// Public Methodspublic 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();
}
public abstract KlarosRevision<T, S> getPredecessor();
Get the predecessor of the revision.
Parameters
|
The revision object that is the predecessor of this revision. |
public abstract String getRevisionComment();
Get comment.
Parameters
|
The comment of the revision. |
public abstract String getRevisionId();
Get the revision id.
Parameters
|
The revision id. |
public abstract KlarosRevision<T, S> getRoot();
Get the root of the revision hierarchy.
Parameters
|
The root revision object. |
This interface provides access to data of a system under test version.
public interface IKlarosSUTImplementation extends, IKlarosNamedEntity {
// Public Methodspublic 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();
}
public abstract Set<KlarosAttachment> getAttachments();
Gets the attachments associated with this system under test.
Parameters
|
the attachments |
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
|
the category nodes |
public abstract KlarosConfiguration getConfiguration();
Get configuration.
Parameters
|
The related configuration. |
public abstract Set<KlarosIssue> getIssues();
Gets the issues related to this system under test.
Parameters
|
the issues |
public abstract Set<KlarosIteration> getIterations();
Get the iterations this system under test is assigned to.
Parameters
|
|
public abstract String getProductversion();
Get product version.
Parameters
|
The version id of the system under test. |
This interface provides access to the data of a tag.
public interface IKlarosTag {
// Public Methodspublic abstract Set<KlarosRevision<?, ?>> getRevisions();
public abstract String getTagId();
public abstract Date getTimestamp();
}
public abstract Set<KlarosRevision<?, ?>> getRevisions();
Get related revisions.
Parameters
|
|
public abstract String getTagId();
Get tag id.
Parameters
|
The id of the tag. |
This class provides access to data of a test case.
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 Long getEstimatedDuration();
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<KlarosTestStepContainer<?, ?>> getTestCaseSteps();
public abstract TestAreatopic getTestType();
public abstract String getTraceability();
public abstract TestVariety getVariety();
}
@Deprecated public abstract TestAreatopic getArea();
The test type of this test case.
Parameters
|
The test type. |
public abstract Set<KlarosAttachment> getAttachments();
Gets the attachments associated with this test case.
Parameters
|
the attachments |
public abstract Set<KlarosTestCaseCategoryNode> getCategories();
Gets the categories this object belongs to. Each category node will belong to a different category tree.
Parameters
|
the category nodes |
public abstract KlarosConfiguration getConfiguration();
Get the project configuration this test case revision belongs to.
Parameters
|
The related configuration. |
public abstract Set<KlarosRequirement> getCovers();
Get covered requirements.
Parameters
|
|
public abstract String getDependency();
The dependency of this test case.
Parameters
|
The dependency. |
public abstract String getDescription();
The description of this test case.
Parameters
|
The description. |
public abstract TestDesignTechnique getDesignTechnique();
The design technique of this test case.
Parameters
|
The type. |
public abstract List<KlarosIssue> getDetectedIssues();
Get detected issues.
Parameters
|
|
public abstract String getDocbase();
The docbase of this test case.
Parameters
|
The docbase. |
public abstract Long getEstimatedDuration();
The estimated duration of this test case.
Parameters
|
The estimatedDuration. |
public abstract String getEvaluation();
The evaluation of this test case.
Parameters
|
The evaluation. |
public abstract TestExecutionMethod getExecution();
The execution method of this test case.
Parameters
|
The execution method. |
public abstract String getExpectedResult();
The expected result of this test case.
Parameters
|
The expected result. |
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
|
the external names |
public abstract List<KlarosJob> getJobs();
Gets the jobs associated with this test case.
Parameters
|
the jobs |
public abstract TestLevel getLevel();
The level of this test case.
Parameters
|
The level. |
public abstract String getNote();
The note of this test case.
Parameters
|
The note. |
public abstract String getPostcondition();
The postcondition of this test case.
Parameters
|
The postcondition. |
public abstract String getPrecondition();
The precondition of this test case.
Parameters
|
The precondition. |
public abstract TestPriority getPriority();
The priority of this test case.
Parameters
|
The priority. |
public abstract Set<KlarosTestCaseResult> getResults();
Get test case results.
Parameters
|
|
public abstract String getShortname();
The short name (title) of this test case.
Parameters
|
The short name. |
public abstract String getState();
The type of this test case.
Parameters
|
The type. |
@Deprecated public abstract String getStateName(KlarosSUTImplementation sut);
Get name of the state related to given SUT.
Parameters
|
The related SUT implementation |
|
The name of the state |
public abstract String getTeam();
The team responsible for this test case.
Parameters
|
The team. |
public abstract List<KlarosTestStepContainer<?, ?>> getTestCaseSteps();
Get test case steps.
Parameters
|
|
public abstract TestAreatopic getTestType();
The test type of this test case.
Parameters
|
The test type. |
public abstract String getTraceability();
The traceability of this test case.
Parameters
|
The traceability. |
This interface provides access to data of a test case result.
public interface IKlarosTestCaseResult extends, IKlarosNamedEntity {
// Public Methodspublic 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();
}
public abstract Set<KlarosAttachment> getAttachments();
Gets the attachments associated with this test case result.
Parameters
|
the attachments |
public abstract String getDescription();
Get the test result description. This is usually set for failed/error status results.
Parameters
|
The test result description. |
public abstract long getExecutionTime();
Get the test execution time in ms.
Parameters
|
The test execution time. |
public abstract KlarosJob getJob();
Gets the job this test case result belongs if one exists.
Parameters
|
the associated job |
public abstract List<KlarosTestCaseStepResult> getStepResults();
Get the associated step results.
Parameters
|
|
public abstract String getSummary();
Get the test result summary. This is usually set for failed/error status results.
Parameters
|
The test result summary. |
public abstract KlarosTestCase getTestCase();
Get the associated test case.
Parameters
|
The test case that has been executed to get this result. |
public abstract KlarosTestRun getTestRun();
Get the associated test run.
Parameters
|
The test run that created this result. |
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
|
the position of the test case in the test suite, or null |
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
|
the test suite result, or null |
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
|
|
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
|
|
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
|
|
public abstract boolean isPending();
Checks if the test case result is pending. This means that it has not yet been completely executed.
Parameters
|
true, if the test case result is pending |
This interface provides access to data of a test case step result.
public interface IKlarosTestCaseStepResult extends, IKlarosNamedEntity {
// Public Methodspublic 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();
}
public abstract String getAction();
Get the action.
Parameters
|
The action of this test case step. |
public abstract String getDescription();
Get the test result description. This is usually set for failed/error status results.
Parameters
|
The test result description. |
public abstract long getExecutionTime();
Get the test execution time in ms.
Parameters
|
The test execution time. |
public abstract String getExpectedResult();
Get the expected result.
Parameters
|
The expected result of this test case step. |
public abstract String getPostcondition();
Get the postcondition.
Parameters
|
The postcondition of this test case step. |
public abstract String getPrecondition();
Get the precondition.
Parameters
|
The precondition of this test case step. |
public abstract String getSummary();
Get the test result summary. This is usually set for failed/error status results.
Parameters
|
The test result summary. |
public abstract KlarosTestCase getTestCase();
Get test case.
Parameters
|
The test case that has been executed to get this result. |
public abstract KlarosTestCaseResult getTestCaseResult();
Get test case result.
Parameters
|
The test case result that has been executed to get this result. |
public abstract KlarosTestRun getTestRun();
Get test run.
Parameters
|
The test run that created this result. |
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
|
|
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
|
|
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
|
|
This interface provides access to data of a test environment.
public interface IKlarosTestEnvironment extends, IKlarosNamedEntity {
// Public Methodspublic abstract Set<KlarosAttachment> getAttachments();
public abstract Set<KlarosTestEnvironmentCategoryNode> getCategories();
public abstract String getDescription();
public abstract Set<KlarosIteration> getIterations();
public abstract Set<KlarosTestRun> getTestRuns();
}
public abstract Set<KlarosAttachment> getAttachments();
Gets the attachments associated with this test environment.
Parameters
|
the attachments |
public abstract Set<KlarosTestEnvironmentCategoryNode> getCategories();
Gets the categories this test environment belongs to. Each category node will belong to a different category tree.
Parameters
|
the category nodes |
public abstract Set<KlarosIteration> getIterations();
Get the iterations this test environment is assigned to.
Parameters
|
|
This interface provides access to data of a test run.
public interface IKlarosTestRun {
// Public Methodspublic 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();
}
public abstract KlarosConfiguration getConfiguration();
Get configuration.
Parameters
|
The related configuration |
public abstract KlarosTestEnvironment getEnv();
Get test environment.
Parameters
|
The test environment in which the test cases have been executed. |
public abstract KlarosIteration getIteration();
Get the iteration in which the test run has been created, if available.
Parameters
|
The iteration in which the test run has been created |
public abstract KlarosJob getJob();
Get the job that initiated the test run, if available.
Parameters
|
The job that initiated the test run |
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
|
The number of error test cases |
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
|
The number of failed test cases |
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
|
The number of passed test cases |
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
|
The number of skipped test cases |
public abstract String getRelatedSummary();
Gets the summary of the job, test suite or test case related to this test run.
Parameters
|
the related summary |
public abstract Set<KlarosTestCaseResult> getResults();
Get results.
Parameters
|
|
public abstract String getRunId();
Get id of test run.
Parameters
|
The id of the test run |
public abstract KlarosSUTImplementation getSut();
Get the tested system version.
Parameters
|
The SUT version which has been tested |
public abstract KlarosTestSuite getTestSuite();
Get the test suite executed with this test run, if available.
Parameters
|
The test suite executed with this test run |
public abstract Date getTimestamp();
Get timestamp.
Parameters
|
The time the test run has been executed as |
public abstract Set<KlarosJobTimeBlock> getWork();
Get the job time blocks of this test run.
Parameters
|
|
This interface provides access to a test segment.
public interface IKlarosTestSegment<T,S extends Revision> extends, IKlarosTestStepContainer<T, S> {
// Public Methodspublic abstract String getDescription();
public abstract String getNote();
public abstract String getShortname();
public abstract List<KlarosTestCaseStep> getSteps();
}
public abstract String getDescription();
Get the description.
Parameters
|
The description of this test segment. |
public abstract String getNote();
Get the note.
Parameters
|
The action of this test case segment. |
public abstract String getShortname();
Get the shortname.
Parameters
|
The shortname of this test case segment. |
This interface provides access to a test step containers.
public interface IKlarosTestStepContainer<T,S extends Revision> extends, IKlarosRevision<T, S> {
// Public Methodspublic abstract String getAction();
public abstract String getExpectedResult();
public abstract String getPostcondition();
public abstract String getPrecondition();
}
public abstract String getAction();
Get the action.
Parameters
|
The action of this test case step. |
public abstract String getExpectedResult();
Get the expected result.
Parameters
|
The expected result of this test case step. |
public abstract String getPostcondition();
Get the postcondition.
Parameters
|
The postcondition of this test case step. |
This interface provides access to data of a test suite.
public interface IKlarosTestSuite<T,S extends Revision> extends, IKlarosRevision<T, S> {
// Public Methodspublic 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();
}
public abstract Set<KlarosAttachment> getAttachments();
Gets the attachments associated with this test suite.
Parameters
|
the attachments |
public abstract Set<KlarosTestSuiteCategoryNode> getCategories();
Gets the categories this object belongs to. Each category node will belong to a different category tree.
Parameters
|
the category nodes |
public abstract KlarosConfiguration getConfiguration();
Get configuration.
Parameters
|
The related configuration. |
public abstract List<KlarosTestSuiteResult> getResults();
Get test suite results.
Parameters
|
|
public abstract String getShortname();
Get the short name of the test suite.
Parameters
|
|
public abstract KlarosSUTImplementation getSut();
Get the description of the test suite.
Parameters
|
|
public abstract List<KlarosTestCase> getTestCases();
Get the executables of this test suite.
Parameters
|
|
This interface provides access to data of a test suite result.
public interface IKlarosTestSuiteResult extends, IKlarosNamedEntity {
// Public Methodspublic abstract KlarosJob getJob();
public abstract Set<KlarosTestCaseResult> getResults();
public abstract KlarosTestRun getTestRun();
public abstract KlarosTestSuite getTestSuite();
public abstract boolean isPending();
}
public abstract KlarosJob getJob();
Gets the job this test suite result belongs if one exists.
Parameters
|
the associated job |
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
|
the results |
public abstract KlarosTestRun getTestRun();
Get the test run for this result.
Parameters
|
the test run |
public abstract KlarosTestSuite getTestSuite();
Get the related test suite.
Parameters
|
The test suite that has been executed to get this result. |
The user object.
public interface IKlarosUser {
// Public Methodspublic abstract String getEmail();
public abstract String getRole();
public abstract String getUsername();
}
public abstract String getEmail();
The email address of this user.
Parameters
|
the email address |
public abstract String getRole();
The role name of this user.
Parameters
|
the role name |
This class provides access to binary attachment.
public final class KlarosAttachment extends, KlarosLabeledObject<KlarosAttachment, Attachment>
implements, IKlarosAttachment {
// Public Methodspublic String getMimeType();
public String getName();
public long getSize();
public String getUuid();
public String getVersion();
}
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
A generic category node.
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 Constructorspublic KlarosCategoryNode(P wrapped);
// Public Methodspublic T 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
A generic category tree.
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 Methodspublic 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
,
getPropertyValue
,
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
This class provides access to the information stored for project's configuration.
public class KlarosConfiguration extends, KlarosLabeledObject<KlarosConfiguration, Configuration>
implements, IKlarosConfiguration, Comparable<KlarosConfiguration> {
// Public Methodspublic 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
A Custom property enumeration value.
public final class KlarosEnumValue extends, KlarosWrapper<KlarosEnumValue, EnumValue>
implements, IKlarosEnumValue {
// Public Methodspublic 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
This class provides access to the information stored for detected issues.
public final class KlarosIssue extends, KlarosWrapper<KlarosIssue, Issue>
implements, IKlarosIssue {
// Public Methodspublic 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
An issue management system.
public class KlarosIssueManagement extends, KlarosWrapper<KlarosIssueManagement, IssueManagement>
implements, IKlarosIssueManagement {
// Public Methodspublic 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
An iteration in a project.
public final class KlarosIteration extends, KlarosNamedEntity<KlarosIteration, Iteration>
implements, IKlarosIteration, Comparable<KlarosIteration> {
// Public Methodspublic 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
,
getPropertyValue
,
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
An category node for iteration implementations.
public final class KlarosIterationCategoryNode extends, KlarosCategoryNode<KlarosIteration, KlarosIterationCategoryTree, KlarosIterationCategoryNode, IterationCategoryNode> {
// Public Constructorspublic KlarosIterationCategoryNode(IterationCategoryNode wrapped);
// Public Methodspublic 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
An category tree for Iteration implementations.
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
,
getPropertyValue
,
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
This class provides access to the information stored for jobs.
public final class KlarosJob extends, KlarosNamedEntity<KlarosJob, Job>
implements, IKlarosJob, Comparable<KlarosJob> {
// Public Methodspublic 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
,
getPropertyValue
,
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
This class provides access to the information stored for jobs.
public final class KlarosJobDependency extends, KlarosWrapper<KlarosJobDependency, JobDependency>
implements, IKlarosJobDependency, Comparable<KlarosJobDependency> {
// Public Methodspublic 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
The implementation of a job time block, measuring a unit of work done for a job.
public final class KlarosJobTimeBlock extends, KlarosWrapper<KlarosJobTimeBlock, JobTimeBlock>
implements, IKlarosJobTimeBlock, Comparable<KlarosJobTimeBlock> {
// Public Methodspublic 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
The model of a job comment.
public final class KlarosJobUpdateAction extends, KlarosWrapper<KlarosJobUpdateAction, JobUpdateAction>
implements, IKlarosJobUpdateAction, Comparable<KlarosJobUpdateAction> {
// Public Methodspublic 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
This class encapsulates the (dynamic) properties of a klaros object.
public abstract class KlarosLabeledObject<T,S extends LabeledObject> extends, KlarosWrapper<T, S>
implements, IKlarosLabeledObject {
// Public Methodspublic 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.KlarosAttachment
,
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
This class encapsulates the (dynamic) properties of a klaros object.
public abstract class KlarosNamedEntity<T,S extends NamedEntity> extends, KlarosLabeledObject<T, S>
implements, IKlarosNamedEntity {
// Public Methodspublic KlarosUser getAssignee();
public List<IKlarosProperty> getProperties();
public String getPropertyValue(String propertyName);
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
This class provides access to the information stored for requirements.
public final class KlarosRequirement extends, KlarosRevision<KlarosRequirement, Requirement>
implements, IKlarosRequirement<KlarosRequirement, Requirement> {
// Public Methodspublic 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
,
getPropertyValue
,
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
An category node for requirement implementations.
public final class KlarosRequirementCategoryNode extends, KlarosCategoryNode<KlarosRequirement, KlarosRequirementCategoryTree, KlarosRequirementCategoryNode, RequirementCategoryNode> {
// Public Constructorspublic KlarosRequirementCategoryNode(RequirementCategoryNode wrapped);
// Public Methodspublic 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
An category tree for Requirement implementations.
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
,
getPropertyValue
,
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
A requirement management system.
public class KlarosRequirementManagement extends, KlarosWrapper<KlarosRequirementManagement, RequirementManagement>
implements, IKlarosRequirementManagement {
// Public Methodspublic 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
This class encapsulates the revision related information of a klaros object.
public abstract class KlarosRevision<T,S extends Revision> extends, KlarosNamedEntity<T, S>
implements, IKlarosRevision<T, S> {
// Public Methodspublic 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
,
getPropertyValue
,
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
This class provides access to the information stored for systems under tests (SUT).
public final class KlarosSUTImplementation extends, KlarosNamedEntity<KlarosSUTImplementation, SUTImplementation>
implements, IKlarosSUTImplementation, Comparable<KlarosSUTImplementation> {
// Public Methodspublic 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
,
getPropertyValue
,
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
An category node for SUT implementations.
public final class KlarosSUTImplementationCategoryNode extends, KlarosCategoryNode<KlarosSUTImplementation, KlarosSUTImplementationCategoryTree, KlarosSUTImplementationCategoryNode, SUTCategoryNode> {
// Public Constructorspublic KlarosSUTImplementationCategoryNode(SUTCategoryNode wrapped);
// Public Methodspublic 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
An category tree for SUT implementations.
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
,
getPropertyValue
,
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
This class provides access to the information stored for a test case.
public final class KlarosTestCase extends, KlarosRevision<KlarosTestCase, TestCase>
implements, IKlarosTestCase<KlarosTestCase, TestCase>, Comparable<KlarosTestCase> {
// Public Methodspublic 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 Long getEstimatedDuration();
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<KlarosTestStepContainer<?, ?>> 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
,
getPropertyValue
,
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
A category node for test cases.
public final class KlarosTestCaseCategoryNode extends, KlarosCategoryNode<KlarosTestCase, KlarosTestCaseCategoryTree, KlarosTestCaseCategoryNode, TestCaseCategoryNode> {
// Public Constructorspublic KlarosTestCaseCategoryNode(TestCaseCategoryNode wrapped);
// Public Methodspublic 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
A category node for test cases.
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
,
getPropertyValue
,
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
This class provides access to the information stored for test case results.
public final class KlarosTestCaseResult extends, KlarosNamedEntity<KlarosTestCaseResult, TestCaseResult>
implements, IKlarosTestCaseResult, Comparable<KlarosTestCaseResult> {
// Public Methodspublic 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
,
getPropertyValue
,
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
This class provides access to the information stored for test case steps.
public final class KlarosTestCaseStep extends, KlarosTestStepContainer<KlarosTestCaseStep, TestStep>
implements, IKlarosTestCaseStep<KlarosTestCaseStep, TestStep> {
// Public Methodspublic KlarosRevision<KlarosTestCaseStep, TestStep> getPredecessor();
public KlarosRevision<KlarosTestCaseStep, TestStep> getRoot();
public KlarosRevision<KlarosTestCaseStep, TestStep> getSuccessor();
}
Methods inherited from de.verit.klaros.core.model.KlarosTestStepContainer:
getAction
,
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
,
getPropertyValue
,
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
This class provides access to the information stored for test case step results.
public final class KlarosTestCaseStepResult extends, KlarosNamedEntity<KlarosTestCaseStepResult, TestCaseStepResult>
implements, IKlarosTestCaseStepResult, Comparable<KlarosTestCaseStepResult> {
// Public Methodspublic 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
,
getPropertyValue
,
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
This class provides access to the information stored for test environments.
public final class KlarosTestEnvironment extends, KlarosNamedEntity<KlarosTestEnvironment, TestEnvironment>
implements, IKlarosTestEnvironment, Comparable<KlarosTestEnvironment> {
// Public Methodspublic 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
,
getPropertyValue
,
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
A category node for test environments.
public final class KlarosTestEnvironmentCategoryNode extends, KlarosCategoryNode<KlarosTestEnvironment, KlarosTestEnvironmentCategoryTree, KlarosTestEnvironmentCategoryNode, TestEnvironmentCategoryNode> {
// Public Constructorspublic KlarosTestEnvironmentCategoryNode(TestEnvironmentCategoryNode wrapped);
// Public Methodspublic 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
A category node for test environments.
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
,
getPropertyValue
,
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
This class provides access to the information stored for test cases.
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
This class provides access to the information stored for test runs.
public final class KlarosTestRun extends, KlarosNamedEntity<KlarosTestRun, TestRun>
implements, IKlarosTestRun, Comparable<KlarosTestRun> {
// Public Methodspublic 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
,
getPropertyValue
,
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
This class provides access to the information stored for test segments.
public final class KlarosTestSegment extends, KlarosTestStepContainer<KlarosTestSegment, TestSegment>
implements, IKlarosTestSegment<KlarosTestSegment, TestSegment> {
// Public Methodspublic 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:
getAction
,
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
,
getPropertyValue
,
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
This class provides access to the information stored for test step containers.
public abstract class KlarosTestStepContainer<T,S extends TestStepContainer> extends, KlarosRevision<T, S>
implements, IKlarosTestStepContainer<T, S> {
// Public Methodspublic String getAction();
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
,
getPropertyValue
,
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
This class provides access to the information stored for test suites.
public final class KlarosTestSuite extends, KlarosRevision<KlarosTestSuite, TestSuite>
implements, IKlarosTestSuite<KlarosTestSuite, TestSuite> {
// Public Methodspublic 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
,
getPropertyValue
,
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
A category node for test suites.
public final class KlarosTestSuiteCategoryNode extends, KlarosCategoryNode<KlarosTestSuite, KlarosTestSuiteCategoryTree, KlarosTestSuiteCategoryNode, TestSuiteCategoryNode> {
// Public Constructorspublic KlarosTestSuiteCategoryNode(TestSuiteCategoryNode wrapped);
// Public Methodspublic 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
A category node for test suites.
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
,
getPropertyValue
,
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
This class provides access to the information stored for test suite results.
public final class KlarosTestSuiteResult extends, KlarosNamedEntity<KlarosTestSuiteResult, TestSuiteResult>
implements, IKlarosTestSuiteResult, Comparable<KlarosTestSuiteResult> {
// Public Methodspublic 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
,
getPropertyValue
,
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
The user object.
public class KlarosUser extends, KlarosLabeledObject<KlarosUser, User>
implements, IKlarosUser, Comparable<KlarosUser> {
// Public Methodspublic 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
This method has been deprecated, please use getTestType() instead. |
|
Context to provide all methods to the user to add own objects to the event context.
public class KlarosContextimplements, IKlarosContext {
// Public Constructorspublic KlarosContext(Context context,
UUID authenticatedUserId,
UUID activeProjectId,
UUID activeIterationId,
String applicationUrl,
KlarosQueryFactory factory,
ParameterContext parameters);public KlarosContext(Context context,
UUID authenticatedUserId,
UUID activeProjectId,
UUID activeIterationId,
String applicationUrl,
KlarosQueryFactory factory,
ParameterContext parameters,
Locale locale);
// Public Methodspublic 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(String attachmentId,
String version);public String getAttachmentUrl(UUID attachmentId);
public String getAttachmentUrl(UUID attachmentId,
String version);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
public KlarosContext(Context context,
UUID authenticatedUserId,
UUID activeProjectId,
UUID activeIterationId,
String applicationUrl,
KlarosQueryFactory factory,
ParameterContext parameters);
Create a KlarosContext.
Parameters
|
Gets passed by the relating servlet. |
|
the authenticated user id |
|
the active project id |
|
the active iteration id if available |
|
the application url |
|
the factory |
|
the parameters |
public KlarosContext(Context context,
UUID authenticatedUserId,
UUID activeProjectId,
UUID activeIterationId,
String applicationUrl,
KlarosQueryFactory factory,
ParameterContext parameters,
Locale locale);
Create a KlarosContext.
Parameters
|
Gets passed by the relating servlet. |
|
the authenticated user id |
|
the active project id |
|
the active iteration id |
|
the application url |
|
the factory |
|
the parameters |
|
the locale |
This factory lets the user execute queries.
public class KlarosQueryFactory {
// Public Static Fieldspublic static final String WRAPPER_PREFIX = "Klaros";
// Public Constructorspublic KlarosQueryFactory(Session session);
// Public Methodspublic List<?> execute(String query);
public List<?> execute(String query,
ParameterContext params);
}
Methods inherited from java.lang.Object:
equals
,
getClass
,
hashCode
,
notify
,
notifyAll
,
toString
,
wait
public KlarosQueryFactory(Session session);
Create a KlarosQueryFactory.
Parameters
|
Passed by the relating servlet. |
public List<?> execute(String query);
Prepares the given query string with our KlarosOdaQuery and returns a KlarosList with the results of the query.
Parameters
|
the query |
|
the list of query results |
Describes the available actions in the scripting context.
public interface IKlarosContext {
// Public Methodspublic abstract void add(String name,
Object value);public abstract List<?> executeParameterizedQuery(String query);
public abstract List<?> executeQuery(String query);
public abstract KlarosIteration getActiveIteration();
public abstract KlarosConfiguration getActiveProject();
public abstract String getAttachmentUrl(String attachmentId);
public abstract String getAttachmentUrl(String attachmentId,
String version);public abstract String getAttachmentUrl(UUID attachmentId);
public abstract String getAttachmentUrl(UUID attachmentId,
String version);public abstract String getBrowsePageUrl(KlarosLabeledObject<?, ?> artifact);
public abstract Locale getLocale();
public abstract Parameter getParameter(String name);
public abstract Object getParameterValue(String name);
public abstract String getPrintPageUrl(KlarosLabeledObject<?, ?> artifact);
public abstract void setLocale(Locale locale);
}
public abstract void add(String name,
Object value);
Add a new object with the give key to the event context.
Parameters
|
the name |
|
the value |
public abstract List<?> executeParameterizedQuery(String query);
Execute the given query with the Parameters from the ParameterContext.
Parameters
|
The HQL query to execute. |
|
A KlarosList of the selected objects. |
public abstract List<?> executeQuery(String query);
Execute the given query.
Parameters
|
The HQL query to execute. |
|
A KlarosList of the selected objects. |
public abstract KlarosIteration getActiveIteration();
Gets the active iteration.
Parameters
|
the active iteration |
public abstract KlarosConfiguration getActiveProject();
Gets the active project.
Parameters
|
the active project |
public abstract String getAttachmentUrl(String attachmentId);
Return the attachment url for the given attachment id.
Parameters
|
the attachment id |
|
the attachment url |
public abstract String getAttachmentUrl(String attachmentId,
String version);
Return the attachment url for the given attachment id.
Parameters
|
the attachment id |
|
the version |
|
the attachment url |
public abstract String getAttachmentUrl(UUID attachmentId);
Return the attachment url for the given attachment id.
Parameters
|
the attachment id |
|
the attachment url |
public abstract String getAttachmentUrl(UUID attachmentId,
String version);
Return the attachment url for the given attachment id.
Parameters
|
the attachment id |
|
the version |
|
the attachment url |
public abstract String getBrowsePageUrl(KlarosLabeledObject<?, ?> artifact);
Gets the browse page url to the given klaros artifact. Will return null if the artifact type is not supported.
Parameters
|
the artifact |
|
the browse page url |
public abstract Parameter getParameter(String name);
Gets the parameter.
Parameters
|
the name |
|
The parameter with the given name or |
public abstract Object getParameterValue(String name);
Gets the parameter value.
Parameters
|
the name |
|
The value of the parameter with the given name or |
public abstract String getPrintPageUrl(KlarosLabeledObject<?, ?> artifact);
Gets the print page of the given klaros artifact. Will return null if the artifact type is not supported.
Parameters
|
the artifact |
|
the print page url |
The available context parameters.
public final class KlarosContextParameter extends, Enum<KlarosContextParameter> {
// Public Static Fieldspublic static final KlarosContextParameter applicationBaseUrl ;
public static final KlarosContextParameter date ;
public static final KlarosContextParameter imageProvider ;
public static final KlarosContextParameter parameters ;
public static final KlarosContextParameter user ;
// Public Static Methodspublic static KlarosContextParameter valueOf(String name);
public static KlarosContextParameter[] values();
}
Methods inherited from java.lang.Enum:
compareTo
,
equals
,
getDeclaringClass
,
hashCode
,
name
,
ordinal
,
toString
,
valueOf
Methods inherited from java.lang.Object:
getClass
,
notify
,
notifyAll
,
wait
The Class IssueReport.
public class IssueReportimplements, KlarosScript {
// Public Constructorspublic IssueReport();
// Public Methodspublic Map<Date, Integer> createdDateCalculator(List<KlarosIssue> issues);
public void execute(KlarosContext context);
public String formatDate(Date date);
public String getColor(int index);
public Integer getColspanSize(int elements);
public String getEnvName(KlarosTestEnvironment env);
public List<KlarosIssue> getFilteredIssues(List<KlarosIssue> issues,
boolean limitToUnresolvedIssues);public String getIterationName(IKlarosContext context);
public String getLastResult(KlarosTestCase testCase);
public List<KlarosIssue> getList(Set<KlarosIssue> issues);
public Integer getNumberOfClosedIssues(List<KlarosIssue> issues);
public String getProjectName(IKlarosContext context);
public int getRate(int amount,
int total);public Map<String, Map<KlarosIssue, Set<KlarosTestCase>>> getRequirements(Map<KlarosTestCase, List<KlarosIssue>> testCases,
boolean limitToUnresolvedIssues,
KlarosContext context);public String getResultColor(String value);
public Integer getResultStatistic(KlarosTestCase testCase);
public String getStateColor(KlarosIssue issue);
public String getSutName(KlarosSUTImplementation sut);
public Object[] getTestCase(KlarosIssue issue);
public Map<Date, Integer> lastModifiedDateCalculator(List<KlarosIssue> issues);
public List<KlarosIssue> setToArray(Map<String, Map<KlarosIssue, Set<KlarosTestCase>>> getRequirements,
String key);public Map<String, List<KlarosIssue>> sortByIM(List<KlarosIssue> issues);
public Map<String, List<KlarosIssue>> sortBySut(List<KlarosIssue> issues,
KlarosContext context);public Map<KlarosTestCase, List<KlarosIssue>> sortByTestCase(List<KlarosIssue> issues,
Set<KlarosTestCase> testCases,
boolean limitToUnresolvedIssues);
}
Methods inherited from java.lang.Object:
equals
,
getClass
,
hashCode
,
notify
,
notifyAll
,
toString
,
wait
public Map<Date, Integer> createdDateCalculator(List<KlarosIssue> issues);
Prepares the information of the created date from the issues for the graph.
Parameters
|
a list of issues |
|
a map with the prepared dates |
public String formatDate(Date date);
Format a date to a string.
Parameters
|
a date |
|
a string |
public String getColor(int index);
Get colors for the zebra-table.
Parameters
|
the index number of the array |
|
a color |
public Integer getColspanSize(int elements);
Calculates the colspan size for the document.
Parameters
|
the amount of elements in the document |
|
the size needed to fit the document |
public String getEnvName(KlarosTestEnvironment env);
Gets the test environment name and converts it into a string.
Parameters
|
test environment |
|
a string |
public List<KlarosIssue> getFilteredIssues(List<KlarosIssue> issues,
boolean limitToUnresolvedIssues);
Filter given issues by issue state.
Parameters
|
the issues |
|
if true, limit result to unresolved issues only |
|
the list of filtered issues |
public String getIterationName(IKlarosContext context);
Getting the iteration name and converting it into a string.
Parameters
|
to provide all methods to the user to add own objects to the event context |
|
the iteration name in a string |
public String getLastResult(KlarosTestCase testCase);
Gets the test case result of a test case and converts the result into a string.
Parameters
|
a test case |
|
a string with the result |
public List<KlarosIssue> getList(Set<KlarosIssue> issues);
Converts the set into a list.
Parameters
|
a set with all relevant issues |
|
a list with issues |
public Integer getNumberOfClosedIssues(List<KlarosIssue> issues);
Gets the number of resolved issues in the given list.
Parameters
|
all issues |
|
the number of resolved issues |
public String getProjectName(IKlarosContext context);
Get the active project name.
Parameters
|
the script context |
|
the project name |
public int getRate(int amount,
int total);
Calculates the percentage of the given values.
Parameters
|
the percentage |
|
the total amount |
|
percent or 0 |
public Map<String, Map<KlarosIssue, Set<KlarosTestCase>>> getRequirements(Map<KlarosTestCase, List<KlarosIssue>> testCases,
boolean limitToUnresolvedIssues,
KlarosContext context);
Sorts issues by requirements.
Parameters
|
a map of issues with there belongs test cases |
|
if set, limit results to unresolved issues |
|
the context |
|
a map with sorted issues by requirements |
public String getResultColor(String value);
Return matching color for a given test case result.
Parameters
|
the test case result in a string |
|
the color string |
public Integer getResultStatistic(KlarosTestCase testCase);
Calculates the success rate of the last 5 test case results.
Parameters
|
a test case |
|
a number of passed test case results |
public String getStateColor(KlarosIssue issue);
Selects the color by issue status.
Parameters
|
all issues |
|
the color green or red |
public String getSutName(KlarosSUTImplementation sut);
Gets the system under test name an converts it into a string.
Parameters
|
a system under test |
|
the system under test name in a string |
public Object[] getTestCase(KlarosIssue issue);
Gets the test case.
Parameters
|
the issue |
|
the test case |
public Map<Date, Integer> lastModifiedDateCalculator(List<KlarosIssue> issues);
Prepares the information of the last updated from the issues for the graph.
Parameters
|
a list with all relevant issues |
|
a map a data that is need for the graph |
public List<KlarosIssue> setToArray(Map<String, Map<KlarosIssue, Set<KlarosTestCase>>> getRequirements,
String key);
Sets the to array.
Parameters
|
the get requirements |
|
the key |
|
the list |
public Map<String, List<KlarosIssue>> sortByIM(List<KlarosIssue> issues);
Sort issues by Issue management.
Parameters
|
a list of issues |
|
a map that is sorted by issue managements |
public Map<String, List<KlarosIssue>> sortBySut(List<KlarosIssue> issues,
KlarosContext context);
Sorts issues by system under test.
Parameters
|
a list of issues |
|
the context |
|
a map with issues sorted by system under tests |
public Map<KlarosTestCase, List<KlarosIssue>> sortByTestCase(List<KlarosIssue> issues,
Set<KlarosTestCase> testCases,
boolean limitToUnresolvedIssues);
Sorts issues by there belonging test cases.
Parameters
|
all test cases |
|
the test cases |
|
limit the result to unresolved issues |
|
a sorted map by test cases |
The Class IterationsReport. A Java snippet to create an Iteration Report Template.
public class IterationReportimplements, KlarosScript {
// Public Constructorspublic IterationReport();
// Public Methodspublic void addResult(String verdict,
KlarosTestCaseResult testResult,
Map<String, List<KlarosTestCaseResult>> resultMap);public void execute(KlarosContext context);
public List<?> getAsList(Set<?> set);
public String getColor(int index);
public String getDate(Date d);
public String getTestCase(KlarosTestRun testrun);
}
Methods inherited from java.lang.Object:
equals
,
getClass
,
hashCode
,
notify
,
notifyAll
,
toString
,
wait
public void addResult(String verdict,
KlarosTestCaseResult testResult,
Map<String, List<KlarosTestCaseResult>> resultMap);
Adds a result to the results map.
Parameters
|
the verdict of the result |
|
the test result |
|
the result map |
public List<?> getAsList(Set<?> set);
Returns the given set as a list to allow index operations.
Parameters
|
the set to convert |
|
the list |
public String getColor(int index);
Gets the color.
Parameters
|
the index |
|
the color |
public String getDate(Date d);
Gets the date.
Parameters
|
the date |
|
the date |
The Class JobDetailReport.
public class JobDetailReportimplements, KlarosScript {
// Public Static Fieldspublic static final String DATE_FORMAT = "MMM dd, yyyy";
public static final int MAX_PERCENT = 100;
public static final int NOTICE_TIME_SPAN_IN_DAYS = 7;
public static final int STYLING_SIZE_2 = 2;
public static final int STYLING_SIZE_3 = 3;
public static final int STYLING_SIZE_4 = 4;
public static final int STYLING_SIZE_5 = 5;
public static final int TIME_RANGE_IN_DAYS = 30;
// Public Constructorspublic JobDetailReport();
// Public Methodspublic Date convertDate(String date);
public Map<Date, Integer> dueDateTimeLineCalculator(List<IKlarosJob> jobs);
public void execute(KlarosContext context);
public String formatDate(Date date);
public List<IKlarosJob> getClosedJobs(List<IKlarosJob> jobs);
public String getColor(int index);
public String getEnvName(KlarosTestEnvironment env);
public String getIterationName(IKlarosContext context);
public String getJobNameToString(List<String> jobNames);
public String getJobStateToString(List<String> jobConditions);
public List<IKlarosJob> getOpenJobs(List<IKlarosJob> jobs);
public String getProjectName(IKlarosContext context);
public int getRate(int total,
int amount);public Set<JobStatus> getStatus(List<String> jobConditions);
public String getSutName(KlarosSUTImplementation sut);
public String getSutSortClosedSize(SortedMap<KlarosSUTImplementation, Map<KlarosTestEnvironment, List<IKlarosJob>>> sutSortedJobs,
KlarosSUTImplementation sut);public String getSutSortOpenSize(SortedMap<KlarosSUTImplementation, Map<KlarosTestEnvironment, List<IKlarosJob>>> sutSortedJobs,
KlarosSUTImplementation sut);public void getTimeProgress(List<IKlarosJob> closedJobs,
List<IKlarosJob> openJobs,
KlarosContext context);public Set<JobType> getType(List<String> jobNames);
public String getValid(IKlarosJob job);
public Map<Date, Integer> lastModifiedTimeLineCalculator(List<IKlarosJob> jobs);
public void mapStatus(KlarosContext context,
List<IKlarosJob> jobs);public String milliToTime(long milli);
public void sortJobsBySut(KlarosContext context,
List<IKlarosJob> jobs);
}
Methods inherited from java.lang.Object:
equals
,
getClass
,
hashCode
,
notify
,
notifyAll
,
toString
,
wait
public Date convertDate(String date);
Convert a string to a date.
Parameters
|
a date that must be converted into a string |
|
a converted date |
public Map<Date, Integer> dueDateTimeLineCalculator(List<IKlarosJob> jobs);
Preparing data for the due date graphic.
Parameters
|
a list of jobs |
|
a map with sorted information that is needed for the due date graph |
public String formatDate(Date date);
Convert a date to a string.
Parameters
|
chosen date that will be converted |
|
a date in a string format |
public List<IKlarosJob> getClosedJobs(List<IKlarosJob> jobs);
Get list with only closed jobs.
Parameters
|
a list of all jobs |
|
a list with closed jobs |
public String getColor(int index);
Get color for zebra tables.
Parameters
|
the number of current index of the list |
|
black or white for the zebra table |
public String getEnvName(KlarosTestEnvironment env);
Test environment to string.
Parameters
|
a test environment |
|
the test environment name in a string |
public String getIterationName(IKlarosContext context);
Iteration name to String.
Parameters
|
to provide all methods to the user to add own objects to the event context |
|
a string with the iteration name |
public String getJobNameToString(List<String> jobNames);
All chosen jobNames to one string.
Parameters
|
a list of chosen job names |
|
all job names in one string |
public String getJobStateToString(List<String> jobConditions);
All chosen jobStates to one string.
Parameters
|
a list of chosen job status |
|
a string with all job status |
public List<IKlarosJob> getOpenJobs(List<IKlarosJob> jobs);
Get list with only open jobs.
Parameters
|
a list of all jobs |
|
a list with open jobs |
public String getProjectName(IKlarosContext context);
Project name to String.
Parameters
|
to provide all methods to the user to add own objects to the event context |
|
a sting with the project name |
public int getRate(int total,
int amount);
Calculates percentage of two numbers.
Parameters
|
Total number |
|
needs to be < finished |
|
percentage of these two numbers |
public Set<JobStatus> getStatus(List<String> jobConditions);
Gets the enum values of the job status.
Parameters
|
a list of chosen job status |
|
a set with job states |
public String getSutName(KlarosSUTImplementation sut);
System under test name to a string.
Parameters
|
a system under test |
|
the system under test name in a string |
public String getSutSortClosedSize(SortedMap<KlarosSUTImplementation, Map<KlarosTestEnvironment, List<IKlarosJob>>> sutSortedJobs,
KlarosSUTImplementation sut);
Closed jobs sorted by system under tests.
Parameters
|
a map where the jobs are sorted by system under test and test environment |
|
a system under test |
|
size of map |
public String getSutSortOpenSize(SortedMap<KlarosSUTImplementation, Map<KlarosTestEnvironment, List<IKlarosJob>>> sutSortedJobs,
KlarosSUTImplementation sut);
Open jobs sorted by system under Tests.
Parameters
|
a map where the jobs are sorted by system under test and test environment |
|
a system under test |
|
the size of the map |
public void getTimeProgress(List<IKlarosJob> closedJobs,
List<IKlarosJob> openJobs,
KlarosContext context);
Extracts time information about jobs.
Parameters
|
a list of closed jobs |
|
a list of open jobs |
|
to provide all methods to the user to add own objects to the event context |
public Set<JobType> getType(List<String> jobNames);
Gets the enum values of the job types.
Parameters
|
a list of chosen job types |
|
a set with job types |
public String getValid(IKlarosJob job);
Get color depending of the date.
Parameters
|
a job |
|
a color that defines if the jobs date is due, expired or in time |
public Map<Date, Integer> lastModifiedTimeLineCalculator(List<IKlarosJob> jobs);
Preparing data for last modified graphics.
Parameters
|
a list of jobs |
|
a map with sorted information that is needed for the last modified graph |
public void mapStatus(KlarosContext context,
List<IKlarosJob> jobs);
Map that counts the status of the jobs.
Parameters
|
to provide all methods to the user to add own objects to the event context |
|
a list of jobs |
public String milliToTime(long milli);
Converts long milliseconds to a string.
Parameters
|
time in milliseconds |
|
converted string |
Filters jobs by given filter.
public static class JobDetailReport.Filter {
// Public Constructorspublic Filter(Set<JobStatus> jobStatus,
Set<JobType> jobTypes,
Date startDate,
Date endDate);
// Public Methodspublic List<IKlarosJob> filter(Iterable<IKlarosJob> jobs);
}
Methods inherited from java.lang.Object:
equals
,
getClass
,
hashCode
,
notify
,
notifyAll
,
toString
,
wait
public Filter(Set<JobStatus> jobStatus,
Set<JobType> jobTypes,
Date startDate,
Date endDate);
Create a filter.
Parameters
|
a set with chosen job status |
|
a set with chosen job types |
|
a start date when the report should start |
|
a end date when the report should end |
The Class JobReport. A Java snippet to create an Job Report Template.
public class JobReportimplements, KlarosScript {
// Public Constructorspublic JobReport();
// Public Methodspublic void execute(KlarosContext context);
public String getColor(int index);
public final List<?> getConverter(Set<?> testrun);
public String getDate(Date date);
}
Methods inherited from java.lang.Object:
equals
,
getClass
,
hashCode
,
notify
,
notifyAll
,
toString
,
wait
public String getColor(int index);
Return the background color code for the given table row index. This method implements a zebra color schema with alternating colors for odd and even rows.
Parameters
|
the row index |
|
the HTML color code string |
public final List<?> getConverter(Set<?> testrun);
Converts Collections into a ArrayList.
Parameters
|
the testrun |
|
the converter |
The Class TestRunReport. A Java snippet to create an Test Run Report Template.
public class TestRunReportimplements, KlarosScript {
// Public Constructorspublic TestRunReport();
// Public Methodspublic void addResult(String verdict,
KlarosTestCaseResult testResult,
Map<String, List<KlarosTestCaseResult>> resultMap);public final void execute(KlarosContext context);
public final String getColor(int index);
public final List<?> getConverter(Set<?> testrun);
public final String getDate(String s);
public final String getDate(Date d);
public final String getDateOnly(String s);
public final String getDateOnly(long d);
public final List<?> getSortTestRuns(List<?> testRuns,
KlarosContext context);public final int getTestCaseError(KlarosTestCaseResult result);
public final String getTestCaseResult(KlarosTestCaseResult result);
public final int getTestCaseStepError(KlarosTestCaseStepResult result);
public final String getTestCaseStepResult(KlarosTestCaseStepResult result);
}
Methods inherited from java.lang.Object:
equals
,
getClass
,
hashCode
,
notify
,
notifyAll
,
toString
,
wait
public void addResult(String verdict,
KlarosTestCaseResult testResult,
Map<String, List<KlarosTestCaseResult>> resultMap);
Adds the result to the results map.
Parameters
|
the verdict of the result |
|
the test result |
|
the result map |
public final String getColor(int index);
Gets the color.
Parameters
|
the index |
|
the color |
public final List<?> getConverter(Set<?> testrun);
Gets the converter.
Parameters
|
the Test Run |
|
the converter |
public final String getDate(Date d);
Gets the date.
Parameters
|
the d |
|
the date |
public final String getDate(String s);
Formats the date. This method exists to correct an error introduced by the UI representation of the date component.
Parameters
|
the string representation of a date |
|
the date |
public final String getDateOnly(long d);
Gets the date only.
Parameters
|
the d |
|
the date only |
public final String getDateOnly(String s);
Formats the date. This method exists to correct an error introduced by the UI representation of the date component.
Parameters
|
the string representation of a date |
|
the date |
public final List<?> getSortTestRuns(List<?> testRuns,
KlarosContext context);
Gets the sort test runs.
Parameters
|
the test runs |
|
the context |
|
the sort test runs |
public final int getTestCaseError(KlarosTestCaseResult result);
Gets the error.
Parameters
|
the result |
|
the error |
public final String getTestCaseResult(KlarosTestCaseResult result);
Gets the result.
Parameters
|
the result |
|
the result |
public final int getTestCaseStepError(KlarosTestCaseStepResult result);
Gets the error.
Parameters
|
the result |
|
the error |
The Parameter class encapsulates a report query parameter.
public class Parameterimplements, Serializable {
// Public Constructorspublic Parameter(ScriptParameter source);
// Public Methodspublic String getDefaultValue();
public List<String> getDefaultValues();
public String getDescription();
public String getLabel();
public String getName();
public List<String> getOptions();
public String getOptionsString();
public ScriptParameterType getType();
public String getValue();
public List<String> getValues();
public boolean isMandatory();
}
Methods inherited from java.lang.Object:
equals
,
getClass
,
hashCode
,
notify
,
notifyAll
,
toString
,
wait
public Parameter(ScriptParameter source);
Instantiates a new parameter.
Parameters
|
the source script parameter |
public String getDefaultValue();
Gets the default value.
Parameters
|
the default value |
public List<String> getDefaultValues();
Gets the default values.
Parameters
|
the default values |
public String getDescription();
Gets the description.
Parameters
|
the description |
public List<String> getOptions();
Gets the options.
Parameters
|
the options |
public String getOptionsString();
Gets the options string.
Parameters
|
the options string |
public ScriptParameterType getType();
Gets the type.
Parameters
|
the type |
The context for script parameters.
public class ParameterContext {
// Public Constructorspublic ParameterContext(List<ScriptParameter> parameters);
// Public Methodspublic Map<String, Parameter> getParameters();
}
Methods inherited from java.lang.Object:
equals
,
getClass
,
hashCode
,
notify
,
notifyAll
,
toString
,
wait
The possible script parameter types.
public final class ParameterType extends, Enum<ParameterType>
implements, IKlarosEnum {
// Public Static Fieldspublic static final ParameterType BOOLEAN ;
public static final ParameterType DATE ;
public static final ParameterType INTEGER ;
public static final ParameterType LIST ;
public static final ParameterType MULTI_LIST ;
public static final ParameterType STRING ;
// Public Static Methodspublic static ParameterType fromName(String name);
public static ParameterType parse(String name);
public static ParameterType valueOf(int value);
public static ParameterType valueOf(String name);
public static ParameterType[] values();
// Public Methodspublic int getCode();
public String getResourceKey();
public boolean isListType();
public String toLocaleString(Locale locale);
}
Methods inherited from java.lang.Enum:
compareTo
,
equals
,
getDeclaringClass
,
hashCode
,
name
,
ordinal
,
toString
,
valueOf
Methods inherited from java.lang.Object:
getClass
,
notify
,
notifyAll
,
wait
public static ParameterType fromName(String name);
Create enum from a name string.
Parameters
|
the name |
|
An enum by its name. |
public String getResourceKey();
Gets the resource key.
Parameters
|
the resource key |
public boolean isListType();
Checks if this type is a list type.
Parameters
|
true, if list type |
public static ParameterType parse(String name);
Parse an instance from a name string.
Parameters
|
the name of the enumeration as returned from toString() or name() methods. |
|
The enumeration or null if no match. |