Class CheckAlignment
java.lang.Object
ca.phon.session.check.CheckAlignment
- All Implemented Interfaces:
IPluginExtensionPoint<SessionCheck>,SessionCheck
public class CheckAlignment
extends Object
implements SessionCheck, IPluginExtensionPoint<SessionCheck>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckSession(SessionValidator validator, Session session, Transcriber transcriber) Check session and report any issues using the given validator.booleancheckTranscriptElement(SessionValidator validator, Session session, int elementIndex, Transcriber transcriber) Check specified transcript element index for issues.Class<?> Get type of extensionGet factory for extension point objectsbooleanvoidloadProperties(Properties props) booleanPerform check by default in session editor and session check wizard.voidsetResetAlignment(boolean resetAlignment)
-
Field Details
-
RESET_ALIGNMENT
-
DEFAULT_RESET_ALIGNMENT
public static final boolean DEFAULT_RESET_ALIGNMENT- See Also:
-
-
Constructor Details
-
CheckAlignment
public CheckAlignment()
-
-
Method Details
-
getExtensionType
Description copied from interface:IPluginExtensionPointGet type of extension- Specified by:
getExtensionTypein interfaceIPluginExtensionPoint<SessionCheck>
-
getFactory
Description copied from interface:IPluginExtensionPointGet factory for extension point objects- Specified by:
getFactoryin interfaceIPluginExtensionPoint<SessionCheck>
-
performCheckByDefault
public boolean performCheckByDefault()Description copied from interface:SessionCheckPerform check by default in session editor and session check wizard. This setting may be overridden by user settings in the Session Check view.- Specified by:
performCheckByDefaultin interfaceSessionCheck- Returns:
- true if check should execute during record editor start-up
-
checkSession
Description copied from interface:SessionCheckCheck session and report any issues using the given validator.- Specified by:
checkSessionin interfaceSessionCheck- Parameters:
validator- the session validatorsession- the session to checktranscriber- check transcripts for given transcriber, or validated transcripts if validator- Returns:
- true if session was modified, false otherwise
-
isResetAlignment
public boolean isResetAlignment() -
setResetAlignment
public void setResetAlignment(boolean resetAlignment) -
checkTranscriptElement
public boolean checkTranscriptElement(SessionValidator validator, Session session, int elementIndex, Transcriber transcriber) Description copied from interface:SessionCheckCheck specified transcript element index for issues.- Specified by:
checkTranscriptElementin interfaceSessionCheck- Parameters:
validator- the session validatorsession- the session to checkelementIndex- the transcript element index to checktranscriber- check transcripts for given transcriber, or validated transcripts if validator- Returns:
- true if issues were found, false otherwise
-
getProperties
- Specified by:
getPropertiesin interfaceSessionCheck
-
loadProperties
- Specified by:
loadPropertiesin interfaceSessionCheck
-