Package wt.change2

Class DefaultChangeNoticeComplexityDelegate

java.lang.Object
wt.change2.DefaultChangeNoticeComplexityDelegate
All Implemented Interfaces:
ChangeNoticeComplexityDelegate, wt.services.applicationcontext.ApplicationContextChild

@Deprecated public class DefaultChangeNoticeComplexityDelegate extends Object implements wt.services.applicationcontext.ApplicationContextChild, ChangeNoticeComplexityDelegate
Deprecated.
This class is the concrete implementation which evaluates the complexity on a change notice.

Supported API: true

Extendable: true
@deprecated use DefaultChangeItemComplexityDelegate instead.
  • Method Details

    • evaluate

      public ChangeNoticeComplexity evaluate(Persistable referenceObject)
      Deprecated.
      Determine the value of ChangeNoticeComplexity. Can be called from all launch points ((Change Requests, Containers, WTParts) by passing in a Persistable reference object.

      Supported API: true
      Specified by:
      evaluate in interface ChangeNoticeComplexityDelegate
      Parameters:
      referenceObject - Reference object for change notice.
      Returns:
      ChangeNoticeComplexity Complexity default value.
    • evaluate

      public ChangeNoticeComplexity evaluate(Persistable referenceObject, TypeInstance changeNoticeTypeInst)
      Deprecated.
      Determine the value of ChangeNoticeComplexity. Can be called from all launch points ((Change Requests, Containers, WTParts) by passing in a Persistable reference object.

      Supported API: true
      Specified by:
      evaluate in interface ChangeNoticeComplexityDelegate
      Parameters:
      referenceObject - Reference object for change notice.
      changeNoticeTypeInst - Type instance for change notice (may be null).
      Returns:
      ChangeNoticeComplexity Complexity default value.
    • isComplexityMutable

      public boolean isComplexityMutable(Persistable referenceObject, ChangeNoticeComplexity complexity) throws WTException
      Deprecated.
      For a given Persistable and some specified complexity determine if the complexity should be "fixed" or if it can be allowed to be changed.

      Supported API: true
      Specified by:
      isComplexityMutable in interface ChangeNoticeComplexityDelegate
      Parameters:
      referenceObject - Reference object for change notice.
      complexity - Default complexity value for change notice.
      Returns:
      boolean True if default complexity value can be changed.
      Throws:
      WTException