2010-01-26 1.2.0

org.eclipse.soda.dk.platform.validation.test.agent
Class PlatformValidationTestAgent

java.lang.Object
  extended by TestAgent
      extended by org.eclipse.soda.dk.platform.validation.test.agent.PlatformValidationTestAgent
All Implemented Interfaces:
PlatformValidationTestAgentService

public class PlatformValidationTestAgent
extends TestAgent
implements PlatformValidationTestAgentService

Since:
1.0
Version:
1.2.0

Field Summary
static int ACCESS_DENIED_IN
          Define the access denied in (int) constant.
static int CINFO_NOT_FOUND
          Define the cinfo not found (int) constant.
static int CLASS
          Define the class (int) constant.
static java.lang.String CLASS_NAME
          Defines the class name.
static int CLASS_NOT_FOUND
          Define the class not found (int) constant.
static int CLASS_NOT_FOUND_FOR
          Define the class not found for (int) constant.
static int CLASSES_VALIDATED
          Define the classes validated (int) constant.
static int CLASSES_VALIDATION_ERROR
          Define the classes validation error (int) constant.
static int CONSTRUCTOR
          Define the constructor (int) constant.
static java.util.ResourceBundle DefaultResourceBundle
          Define the default resource bundle (ResourceBundle) field.
static java.lang.String DESCRIPTION
          Description of the test.
static int FIELD
          Define the field (int) constant.
static int INCOMPATIBLE_MODIFIERS
          Define the incompatible modifiers (int) constant.
static int INCOMPATIBLE_MODIFIERS_INSTEAD_OF
          Define the incompatible modifiers instead of (int) constant.
static int INCORRECT_RETURN_TYPE_FOR
          Define the incorrect return type for (int) constant.
static int INCORRECT_SUPERCLASS
          Define the incorrect superclass (int) constant.
static int INCORRECT_TYPE
          Define the incorrect type (int) constant.
static int JAVA_VERSION_MISMATCH
          Define the java version mismatch (int) constant.
static int LOADING_CINFO
          Define the loading cinfo (int) constant.
static int METHOD
          Define the method (int) constant.
static int NOT_FOUND_IN
          Define the not found in (int) constant.
static int NOT_OSGI
          Define the not osgi (int) constant.
static int PACKAGE_NOT_FOUND
          Define the package not found (int) constant.
static int PACKAGE_VALIDATION_ERROR
          Define the package validation error (int) constant.
static int PACKAGE_VERSION_MISMATCH
          Define the package version mismatch (int) constant.
static int PACKAGES_VALIDATED
          Define the packages validated (int) constant.
static int PACKAGES_VALIDATION_ERROR
          Define the packages validation error (int) constant.
static int SERVICE_NOT_FOUND
          Define the service not found (int) constant.
static int SERVICE_VALIDATION_ERROR
          Define the service validation error (int) constant.
static int SERVICES_VALIDATED
          Define the services validated (int) constant.
static int SERVICES_VALIDATION_ERROR
          Define the services validation error (int) constant.
static int UNIMPLEMENTED_INTERFACES
          Define the unimplemented interfaces (int) constant.
static int UNRESOLVABLE_DUE_TO
          Define the unresolvable due to (int) constant.
 
Fields inherited from interface org.eclipse.soda.dk.platform.validation.test.agent.service.PlatformValidationTestAgentService
FACTORY_SERVICE_NAME, MANAGED_SERVICE_NAME, MIN_JAVA_VERSION_PROPERTY, REQUIRED_LIBRARIES_PROPERTY, REQUIRED_OSGI_PACKAGES_PROPERTY, REQUIRED_OSGI_SERVICES_PROPERTY, SERVICE_NAME
 
Constructor Summary
PlatformValidationTestAgent()
          Constructs a new instance of the PlatformValidationTestAgent class.
 
Method Summary
 java.lang.String getDescription()
          Gets the description (String) value.
 OSGiValidationService getOSGiValidationService()
          Gets the OSGi validation service value.
 java.lang.Class loadTestClass()
          Load test class and return the Class result.
static void main(java.lang.String[] arguments)
          Main method to run tests in a stand alone mode.
 void setServiceValidater(OSGiValidationService osgiValidationService)
          Sets the service validater value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Defines the class name.

See Also:
Constant Field Values

DESCRIPTION

public static final java.lang.String DESCRIPTION
Description of the test.

See Also:
Constant Field Values

LOADING_CINFO

public static final int LOADING_CINFO
Define the loading cinfo (int) constant.

See Also:
Constant Field Values

CINFO_NOT_FOUND

public static final int CINFO_NOT_FOUND
Define the cinfo not found (int) constant.

See Also:
Constant Field Values

JAVA_VERSION_MISMATCH

public static final int JAVA_VERSION_MISMATCH
Define the java version mismatch (int) constant.

See Also:
Constant Field Values

CLASSES_VALIDATED

public static final int CLASSES_VALIDATED
Define the classes validated (int) constant.

See Also:
Constant Field Values

CLASSES_VALIDATION_ERROR

public static final int CLASSES_VALIDATION_ERROR
Define the classes validation error (int) constant.

See Also:
Constant Field Values

NOT_OSGI

public static final int NOT_OSGI
Define the not osgi (int) constant.

See Also:
Constant Field Values

PACKAGE_NOT_FOUND

public static final int PACKAGE_NOT_FOUND
Define the package not found (int) constant.

See Also:
Constant Field Values

ACCESS_DENIED_IN

public static final int ACCESS_DENIED_IN
Define the access denied in (int) constant.

See Also:
Constant Field Values

CLASS_NOT_FOUND

public static final int CLASS_NOT_FOUND
Define the class not found (int) constant.

See Also:
Constant Field Values

CLASS_NOT_FOUND_FOR

public static final int CLASS_NOT_FOUND_FOR
Define the class not found for (int) constant.

See Also:
Constant Field Values

CONSTRUCTOR

public static final int CONSTRUCTOR
Define the constructor (int) constant.

See Also:
Constant Field Values

FIELD

public static final int FIELD
Define the field (int) constant.

See Also:
Constant Field Values

INCOMPATIBLE_MODIFIERS

public static final int INCOMPATIBLE_MODIFIERS
Define the incompatible modifiers (int) constant.

See Also:
Constant Field Values

INCOMPATIBLE_MODIFIERS_INSTEAD_OF

public static final int INCOMPATIBLE_MODIFIERS_INSTEAD_OF
Define the incompatible modifiers instead of (int) constant.

See Also:
Constant Field Values

INCORRECT_RETURN_TYPE_FOR

public static final int INCORRECT_RETURN_TYPE_FOR
Define the incorrect return type for (int) constant.

See Also:
Constant Field Values

INCORRECT_SUPERCLASS

public static final int INCORRECT_SUPERCLASS
Define the incorrect superclass (int) constant.

See Also:
Constant Field Values

INCORRECT_TYPE

public static final int INCORRECT_TYPE
Define the incorrect type (int) constant.

See Also:
Constant Field Values

METHOD

public static final int METHOD
Define the method (int) constant.

See Also:
Constant Field Values

NOT_FOUND_IN

public static final int NOT_FOUND_IN
Define the not found in (int) constant.

See Also:
Constant Field Values

PACKAGE_VALIDATION_ERROR

public static final int PACKAGE_VALIDATION_ERROR
Define the package validation error (int) constant.

See Also:
Constant Field Values

PACKAGE_VERSION_MISMATCH

public static final int PACKAGE_VERSION_MISMATCH
Define the package version mismatch (int) constant.

See Also:
Constant Field Values

PACKAGES_VALIDATED

public static final int PACKAGES_VALIDATED
Define the packages validated (int) constant.

See Also:
Constant Field Values

PACKAGES_VALIDATION_ERROR

public static final int PACKAGES_VALIDATION_ERROR
Define the packages validation error (int) constant.

See Also:
Constant Field Values

SERVICE_NOT_FOUND

public static final int SERVICE_NOT_FOUND
Define the service not found (int) constant.

See Also:
Constant Field Values

SERVICE_VALIDATION_ERROR

public static final int SERVICE_VALIDATION_ERROR
Define the service validation error (int) constant.

See Also:
Constant Field Values

SERVICES_VALIDATED

public static final int SERVICES_VALIDATED
Define the services validated (int) constant.

See Also:
Constant Field Values

SERVICES_VALIDATION_ERROR

public static final int SERVICES_VALIDATION_ERROR
Define the services validation error (int) constant.

See Also:
Constant Field Values

UNIMPLEMENTED_INTERFACES

public static final int UNIMPLEMENTED_INTERFACES
Define the unimplemented interfaces (int) constant.

See Also:
Constant Field Values

UNRESOLVABLE_DUE_TO

public static final int UNRESOLVABLE_DUE_TO
Define the unresolvable due to (int) constant.

See Also:
Constant Field Values

CLASS

public static final int CLASS
Define the class (int) constant.

See Also:
Constant Field Values

DefaultResourceBundle

public static java.util.ResourceBundle DefaultResourceBundle
Define the default resource bundle (ResourceBundle) field.

Constructor Detail

PlatformValidationTestAgent

public PlatformValidationTestAgent()
Constructs a new instance of the PlatformValidationTestAgent class.

Method Detail

main

public static void main(java.lang.String[] arguments)
Main method to run tests in a stand alone mode.

Parameters:
arguments - The arguments (String[]) parameter.
See Also:
PlatformValidationTestAgent

getDescription

public java.lang.String getDescription()
Gets the description (String) value.

Returns:
Results of the get description (String) value.

getOSGiValidationService

public OSGiValidationService getOSGiValidationService()
Gets the OSGi validation service value.

Returns:
The osgi validation service (OSGiValidationService) value.

loadTestClass

public java.lang.Class loadTestClass()
Load test class and return the Class result.

Returns:
Results of the load test class (Class) value.

setServiceValidater

public void setServiceValidater(OSGiValidationService osgiValidationService)
Sets the service validater value.

Parameters:
osgiValidationService - The OSGi validation service (OSGiValidationService) parameter.

2010-01-26 1.2.0

Copyright (c) 2010 IBM. See license in Legal section.