Class IsPluginInstalledTask
- java.lang.Object
-
- org.jivesoftware.openfire.container.IsPluginInstalledTask
-
- All Implemented Interfaces:
Externalizable,Serializable,Runnable,ClusterTask<Boolean>
public class IsPluginInstalledTask extends Object implements ClusterTask<Boolean>
Task that will be run in each cluster node to learn if the specified plugin is installed or not.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IsPluginInstalledTask()Do not use this constructor.IsPluginInstalledTask(String pluginName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetResult()voidreadExternal(ObjectInput in)voidrun()voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
IsPluginInstalledTask
public IsPluginInstalledTask()
Do not use this constructor. It exists for deserialization purposes.
-
IsPluginInstalledTask
public IsPluginInstalledTask(String pluginName)
-
-
Method Detail
-
getResult
public Boolean getResult()
- Specified by:
getResultin interfaceClusterTask<Boolean>
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-