Crossfire JXClient, Trunk
Public Member Functions | List of all members
checker.Require Interface Reference
Collaboration diagram for checker.Require:
Collaboration graph

Public Member Functions

int maxVersion () default Integer.MAX_VALUE
 
int minVersion () default 1
 
boolean optional () default false
 
Module value ()
 

Detailed Description

Indicates that a plug-in depends on a module.

Definition at line 50 of file Require.java.

Member Function Documentation

◆ maxVersion()

int checker.Require.maxVersion ( )

Returns the maximum supported version of a module.

Returns
maximum supported version of a module.

◆ minVersion()

int checker.Require.minVersion ( )

Returns the minimum supported version of a module.

Returns
minimum supported version of a module.

◆ optional()

boolean checker.Require.optional ( )

Returns true if a module is optional. A module is optional if a system works without that module but is missing some functionality. Returns false if a system won't work without the specified module.

Returns
true if module is optional. False otherwise.

◆ value()

Module checker.Require.value ( )

Returns the required module.

Returns
required module.

The documentation for this interface was generated from the following file: