br.eti.kinoshita.testlinkjavaapi
Enum TestLinkAPIErrors

Package class diagram package TestLinkAPIErrors
java.lang.Object
  extended by java.lang.Enum<TestLinkAPIErrors>
      extended by br.eti.kinoshita.testlinkjavaapi.TestLinkAPIErrors
All Implemented Interfaces:
Serializable, Comparable<TestLinkAPIErrors>

public enum TestLinkAPIErrors
extends Enum<TestLinkAPIErrors>

Since:
1.9.4-1
Author:
Mario Fuentes - http://www.rhiscom.com

Enum Constant Summary
AttachDbWriteError
           
AttachFeatureDisabled
           
AttachInvalidAttachment
           
AttachInvalidFk
           
AttachTempFileCreationError
           
BadBuildForTestPlan
           
BuildIdNoguess
           
BuildIdNotInteger
           
BuildnameAlreadyExists
           
BuildnameDoesNotExist
           
ConfigDeleteExecDisabled
           
CustomFieldHasNotDesignScope
           
CustomFieldNotAppForNodeType
           
CustomFieldNotAssignedToTestProject
           
GeneralErrorCode
           
GeneralSuccessCode
           
InsufficientRights
           
InvalidAuth
           
InvalidBuildId
           
InvalidParentTestSuiteId
           
InvalidStatus
           
InvalidTestCaseExternalId
           
InvalidTestCaseId
           
InvalidTestCaseVersionNumber
           
InvalidTestPlanId
           
InvalidTestProjectId
           
InvalidTestSuiteId
           
LinkedFeatureAlreadyExists
           
MissingPlatformIdButNeeded
           
MissingRequiredParameter
           
NoBuildForTestPlanId
           
NoBuildId
           
NoCustomFieldByThisName
           
NodeIdDoesNotExist
           
NodeIdInvalidDataType
           
NodeIdIsNotInteger
           
NoDevKey
           
NoPlatformId
           
NoStatus
           
NoTestCaseByThisName
           
NoTestCaseExternalId
           
NoTestCaseFound
           
NoTestCaseId
           
NoTestCaseName
           
NoTestMode
           
NoTestPlanId
           
NoTestProjectId
           
NoTestSuiteId
           
NoTestSuiteName
           
NotYetImplemented
           
NoUserByThisLogin
           
OtherVersionIsAlreadyLinked
           
ParameterNotInt
           
PlatformIdNotLinkedToTestPlan
           
PlatformNotLinkedToTestPlan
           
ReqKo
           
ReqReqSpecKo
           
ReqSpecIsEmpty
           
ReqSpecKo
           
ReqSpecTestProjectKo
           
TestCaseEmptyName
           
TestCaseIdNotInteger
           
TestCaseIdNotInTestPlanId
           
TestCaseIdNotInTestPlanIdForPlatform
           
TestCaseNameLenExceeded
           
TestCaseNameNotString
           
TestCaseSiblingWithSameNameExists
           
TestCaseTestProjectKo
           
TestCaseVersionNumberKo
           
TestPlanHasNoBuilds
           
TestPlanHasNoPlatforms
           
TestPlanIdNotInteger
           
TestPlanNameAlreadyExists
           
TestPlanNameDoesNotExist
           
TestPlanTestProjectKo
           
TestProjectCopySourcenameDoesNotExist
           
TestProjectIsEmpty
           
TestProjectNameDoesNotExist
           
TestProjectNameExists
           
TestProjectNameSintaxError
           
TestProjectPrefixAlreadyExists
           
TestProjectTestCasePrefixExists
           
TestProjectTestCasePrefixIsEmpty
           
TestProjectTestCasePrefixIsTooLong
           
TestSuiteDoNotBeLongToTestProject
           
TestSuiteNameNotString
           
VersionNotValid
           
 
Method Summary
 Integer getCode()
           
 boolean isCode(Integer code)
           
 String toString()
           
static TestLinkAPIErrors valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TestLinkAPIErrors[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GeneralErrorCode

public static final TestLinkAPIErrors GeneralErrorCode

GeneralSuccessCode

public static final TestLinkAPIErrors GeneralSuccessCode

NotYetImplemented

public static final TestLinkAPIErrors NotYetImplemented

NoDevKey

public static final TestLinkAPIErrors NoDevKey

NoTestCaseId

public static final TestLinkAPIErrors NoTestCaseId

NoTestCaseExternalId

public static final TestLinkAPIErrors NoTestCaseExternalId

NoTestPlanId

public static final TestLinkAPIErrors NoTestPlanId

NoBuildId

public static final TestLinkAPIErrors NoBuildId

NoTestMode

public static final TestLinkAPIErrors NoTestMode

NoStatus

public static final TestLinkAPIErrors NoStatus

NoTestProjectId

public static final TestLinkAPIErrors NoTestProjectId

NoTestCaseName

public static final TestLinkAPIErrors NoTestCaseName

NoTestSuiteId

public static final TestLinkAPIErrors NoTestSuiteId

MissingRequiredParameter

public static final TestLinkAPIErrors MissingRequiredParameter

ParameterNotInt

public static final TestLinkAPIErrors ParameterNotInt

NoTestSuiteName

public static final TestLinkAPIErrors NoTestSuiteName

NodeIdIsNotInteger

public static final TestLinkAPIErrors NodeIdIsNotInteger

NodeIdDoesNotExist

public static final TestLinkAPIErrors NodeIdDoesNotExist

ConfigDeleteExecDisabled

public static final TestLinkAPIErrors ConfigDeleteExecDisabled

NoPlatformId

public static final TestLinkAPIErrors NoPlatformId

NodeIdInvalidDataType

public static final TestLinkAPIErrors NodeIdInvalidDataType

InvalidAuth

public static final TestLinkAPIErrors InvalidAuth

InsufficientRights

public static final TestLinkAPIErrors InsufficientRights

InvalidTestPlanId

public static final TestLinkAPIErrors InvalidTestPlanId

TestPlanIdNotInteger

public static final TestLinkAPIErrors TestPlanIdNotInteger

NoBuildForTestPlanId

public static final TestLinkAPIErrors NoBuildForTestPlanId

TestCaseIdNotInTestPlanId

public static final TestLinkAPIErrors TestCaseIdNotInTestPlanId

TestPlanHasNoBuilds

public static final TestLinkAPIErrors TestPlanHasNoBuilds

BadBuildForTestPlan

public static final TestLinkAPIErrors BadBuildForTestPlan

TestPlanNameDoesNotExist

public static final TestLinkAPIErrors TestPlanNameDoesNotExist

TestPlanNameAlreadyExists

public static final TestLinkAPIErrors TestPlanNameAlreadyExists

PlatformNotLinkedToTestPlan

public static final TestLinkAPIErrors PlatformNotLinkedToTestPlan

TestPlanHasNoPlatforms

public static final TestLinkAPIErrors TestPlanHasNoPlatforms

TestCaseIdNotInTestPlanIdForPlatform

public static final TestLinkAPIErrors TestCaseIdNotInTestPlanIdForPlatform

MissingPlatformIdButNeeded

public static final TestLinkAPIErrors MissingPlatformIdButNeeded

PlatformIdNotLinkedToTestPlan

public static final TestLinkAPIErrors PlatformIdNotLinkedToTestPlan

LinkedFeatureAlreadyExists

public static final TestLinkAPIErrors LinkedFeatureAlreadyExists

OtherVersionIsAlreadyLinked

public static final TestLinkAPIErrors OtherVersionIsAlreadyLinked

InvalidBuildId

public static final TestLinkAPIErrors InvalidBuildId

BuildIdNotInteger

public static final TestLinkAPIErrors BuildIdNotInteger

BuildIdNoguess

public static final TestLinkAPIErrors BuildIdNoguess

BuildnameAlreadyExists

public static final TestLinkAPIErrors BuildnameAlreadyExists

BuildnameDoesNotExist

public static final TestLinkAPIErrors BuildnameDoesNotExist

InvalidTestCaseId

public static final TestLinkAPIErrors InvalidTestCaseId

TestCaseIdNotInteger

public static final TestLinkAPIErrors TestCaseIdNotInteger

TestCaseNameNotString

public static final TestLinkAPIErrors TestCaseNameNotString

NoTestCaseByThisName

public static final TestLinkAPIErrors NoTestCaseByThisName

InvalidTestCaseExternalId

public static final TestLinkAPIErrors InvalidTestCaseExternalId

InvalidTestCaseVersionNumber

public static final TestLinkAPIErrors InvalidTestCaseVersionNumber

TestCaseVersionNumberKo

public static final TestLinkAPIErrors TestCaseVersionNumberKo

VersionNotValid

public static final TestLinkAPIErrors VersionNotValid

NoTestCaseFound

public static final TestLinkAPIErrors NoTestCaseFound

TestCaseEmptyName

public static final TestLinkAPIErrors TestCaseEmptyName

TestCaseNameLenExceeded

public static final TestLinkAPIErrors TestCaseNameLenExceeded

TestCaseSiblingWithSameNameExists

public static final TestLinkAPIErrors TestCaseSiblingWithSameNameExists

InvalidStatus

public static final TestLinkAPIErrors InvalidStatus

AttachTempFileCreationError

public static final TestLinkAPIErrors AttachTempFileCreationError

AttachDbWriteError

public static final TestLinkAPIErrors AttachDbWriteError

AttachFeatureDisabled

public static final TestLinkAPIErrors AttachFeatureDisabled

AttachInvalidFk

public static final TestLinkAPIErrors AttachInvalidFk

AttachInvalidAttachment

public static final TestLinkAPIErrors AttachInvalidAttachment

InvalidTestProjectId

public static final TestLinkAPIErrors InvalidTestProjectId

TestProjectNameSintaxError

public static final TestLinkAPIErrors TestProjectNameSintaxError

TestProjectNameExists

public static final TestLinkAPIErrors TestProjectNameExists

TestProjectTestCasePrefixExists

public static final TestLinkAPIErrors TestProjectTestCasePrefixExists

TestProjectTestCasePrefixIsEmpty

public static final TestLinkAPIErrors TestProjectTestCasePrefixIsEmpty

TestProjectTestCasePrefixIsTooLong

public static final TestLinkAPIErrors TestProjectTestCasePrefixIsTooLong

TestPlanTestProjectKo

public static final TestLinkAPIErrors TestPlanTestProjectKo

TestCaseTestProjectKo

public static final TestLinkAPIErrors TestCaseTestProjectKo

TestProjectIsEmpty

public static final TestLinkAPIErrors TestProjectIsEmpty

TestProjectPrefixAlreadyExists

public static final TestLinkAPIErrors TestProjectPrefixAlreadyExists

ReqSpecTestProjectKo

public static final TestLinkAPIErrors ReqSpecTestProjectKo

TestProjectNameDoesNotExist

public static final TestLinkAPIErrors TestProjectNameDoesNotExist

TestProjectCopySourcenameDoesNotExist

public static final TestLinkAPIErrors TestProjectCopySourcenameDoesNotExist

InvalidTestSuiteId

public static final TestLinkAPIErrors InvalidTestSuiteId

TestSuiteDoNotBeLongToTestProject

public static final TestLinkAPIErrors TestSuiteDoNotBeLongToTestProject

TestSuiteNameNotString

public static final TestLinkAPIErrors TestSuiteNameNotString

InvalidParentTestSuiteId

public static final TestLinkAPIErrors InvalidParentTestSuiteId

NoCustomFieldByThisName

public static final TestLinkAPIErrors NoCustomFieldByThisName

CustomFieldNotAppForNodeType

public static final TestLinkAPIErrors CustomFieldNotAppForNodeType

CustomFieldHasNotDesignScope

public static final TestLinkAPIErrors CustomFieldHasNotDesignScope

CustomFieldNotAssignedToTestProject

public static final TestLinkAPIErrors CustomFieldNotAssignedToTestProject

NoUserByThisLogin

public static final TestLinkAPIErrors NoUserByThisLogin

ReqSpecKo

public static final TestLinkAPIErrors ReqSpecKo

ReqSpecIsEmpty

public static final TestLinkAPIErrors ReqSpecIsEmpty

ReqReqSpecKo

public static final TestLinkAPIErrors ReqReqSpecKo

ReqKo

public static final TestLinkAPIErrors ReqKo
Method Detail

values

public static TestLinkAPIErrors[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TestLinkAPIErrors c : TestLinkAPIErrors.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TestLinkAPIErrors valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getCode

public Integer getCode()

toString

public String toString()
Overrides:
toString in class Enum<TestLinkAPIErrors>

isCode

public boolean isCode(Integer code)


Copyright © 2010-2011 the testlink-java-api team-2012. All Rights Reserved.