TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.tptp.logging.events.cbe
Interface DependencySituation

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable, SituationType
All Known Implementing Classes:
DependencySituationImpl

public interface DependencySituation
extends SituationType

Interface representing a DependencySituation.

The following description is from the Common Base Event v1.0.1 specification entitled "Canonical Situation Data Format: The Common Base Event V1.0.1":

The DependencySituation deals with the situations that components produce to say that they cannot find some component or feature they need. This category includes messages about not finding the version of the component that was expected. Messages that say a resource was not found or that an application or subsystem that was unavailable also fall into this category. Existing messages include words like "could not find", and "no such component", for example:


Method Summary
 java.lang.String getDependencyDisposition()
           Returns the value of the 'Dependency Disposition' attribute.
 void init()
          Resets the object's properties to their initial (e.g. null) state.
 void setDependencyDisposition(java.lang.String value)
          Sets the value of the ' Dependency Disposition' attribute.
 
Methods inherited from interface org.eclipse.tptp.logging.events.cbe.SituationType
getReasoningScope, setReasoningScope, validate
 

Method Detail

getDependencyDisposition

java.lang.String getDependencyDisposition()

Returns the value of the 'Dependency Disposition' attribute.

Returns:
the value of the 'Dependency Disposition' attribute.
See Also:
setDependencyDisposition(String)

setDependencyDisposition

void setDependencyDisposition(java.lang.String value)
Sets the value of the ' Dependency Disposition' attribute.

This property specifies the dependency disposition of a feature of a component that caused the situation to be reported. The featureDisposition is a string with the following set of values:

This is a required property and once it is set it must not change. The string length for this property must not exceed 64 characters.

Parameters:
value - the new value of the 'Dependency Disposition' attribute.
See Also:
getDependencyDisposition()

init

void init()
Resets the object's properties to their initial (e.g. null) state. All components are initialized to either zero or null.

Specified by:
init in interface SituationType

TPTP 4.6.0 Platform Project
Public API Specification