Package tigase.vhosts
Class AbstractVHostItemExtension<T extends AbstractVHostItemExtension<T>>
java.lang.Object
tigase.vhosts.VHostItemExtension<T>
tigase.vhosts.AbstractVHostItemExtension<T>
- All Implemented Interfaces:
VHostItemExtensionIfc<T>
- Direct Known Subclasses:
BasicComponent.ServerInfoVHostItemExtension
,BruteForceLockerBean.BruteForceLockerVHostExtension
,ClientTrustManagerFactory.ClientTrustVHostItemExtension
,PresenceSubscription.PresenceSubscriptionVHostItemExtension
,SeeOtherHost.SeeOtherHostVHostItemExtension
,SSLContextContainer.HardenedModeVHostItemExtension
public abstract class AbstractVHostItemExtension<T extends AbstractVHostItemExtension<T>>
extends VHostItemExtension<T>
Abstract class and subclass of
VHostItemExtension
providing a helper method to add a boolean fields
to ad-hoc forms for manipulation of vhost extension.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addBooleanFieldWithDefaultToCommand
(Element commandEl, String var, String label, Boolean value, boolean forDefault) Method adds a boolean field to the formMethods inherited from class tigase.vhosts.VHostItemExtension
mergeWithDefaults, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface tigase.vhosts.VHostItemExtensionIfc
addCommandFields, getId, initFromCommand, initFromElement, toDebugString, toElement
-
Constructor Details
-
AbstractVHostItemExtension
public AbstractVHostItemExtension()
-
-
Method Details
-
addBooleanFieldWithDefaultToCommand
protected void addBooleanFieldWithDefaultToCommand(Element commandEl, String var, String label, Boolean value, boolean forDefault) Method adds a boolean field to the form- Parameters:
commandEl
- - command elementvar
- - field idlabel
- - field labelvalue
- - value for a fieldforDefault
- - if true then we are setting values for default instance and we can choose only YES or NO. In other case we can also select DEFAULT to enforce usage of the default value for this vhost item extension.s
-