Library | Package Java Toolkit

Interface ModelCheckCustomCheckListener

package com.ptc.pfc.pfcModelCheck;

public interface ModelCheckCustomCheckListener
  extends com.ptc.pfc.pfcBase.ActionListener



Description

This interface should be extended to provide the implementation for a ModelCheck custom check.



Method Summary
CustomCheckResultsOnCustomCheck (String CheckName, Model Mdl)
    Override this method to evaluate a ModelCheck externally defined check.
voidOnCustomCheckAction (String CheckName, Model Mdl, /*optional*/ String SelectedItem)
    Override this method to execute a repair action on an item found by a custom check.
voidOnCustomCheckUpdate (String CheckName, Model Mdl, /*optional*/ String SelectedItem)
    Override this method to update an item found by a custom check.

Method Detail

OnCustomCheck

CustomCheckResultsOnCustomCheck (String CheckName, Model Mdl)


    Override this method to evaluate a ModelCheck externally defined check.
Manual References:
Models: Custom Checks, Models: Custom Checks
Parameters:
CheckName
The name of the check.
Mdl
The model.
Returns:
The CustomCheckResults object containing the results of the check for this model.


OnCustomCheckAction

voidOnCustomCheckAction (String CheckName, Model Mdl, /*optional*/ String SelectedItem)


    Override this method to execute a repair action on an item found by a custom check.
Manual References:
Models: Custom Checks, Models: Custom Checks
Parameters:
CheckName
Name of the check.
Mdl
The model.
SelectedItem
Label of the item that was selected from the table, if applicable. This will match the value of string returned in the CustomCheckResults object returned by ModelCheckCustomCheckListener.OnCustomCheck(String, Model). Can be null if no item was selected.
Returns:


OnCustomCheckUpdate

voidOnCustomCheckUpdate (String CheckName, Model Mdl, /*optional*/ String SelectedItem)


    Override this method to update an item found by a custom check.
Manual References:
Models: Custom Checks
Parameters:
CheckName
Name of the check.
Mdl
The model.
SelectedItem
Label of the item that was selected from the table,if applicable. This will match the value of string returned in the CustomCheckResults object returned by ModelCheckCustomCheckListener.OnCustomCheck(String, Model).
Returns: