org.jboss.shrinkwrap.descriptor.api.jbossweb60
Interface ReplicationConfigType<T>

All Superinterfaces:
Child<T>

public interface ReplicationConfigType<T>
extends Child<T>

This interface defines the contract for the replication-configType xsd type

Since:
Generation date :2013-01-26T19:27:01.083+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 ReplicationConfigType<T> backups(Integer backups)
          Sets the backups element
 ReplicationConfigType<T> cacheName(String cacheName)
          Sets the cache-name element
 Integer getBackups()
          Returns the backups element
 String getCacheName()
          Returns the cache-name element
 Integer getMaxUnreplicatedInterval()
          Returns the max-unreplicated-interval element
 ReplicationGranularityType getReplicationGranularity()
          Returns the replication-granularity element
 String getReplicationGranularityAsString()
          Returns the replication-granularity element
 ReplicationModeType getReplicationMode()
          Returns the replication-mode element
 String getReplicationModeAsString()
          Returns the replication-mode element
 ReplicationTriggerType getReplicationTrigger()
          Returns the replication-trigger element
 String getReplicationTriggerAsString()
          Returns the replication-trigger element
 String getSessionNotificationPolicy()
          Returns the session-notification-policy element
 Integer getSnapshotInterval()
          Returns the snapshot-interval element
 SnapshotModeType getSnapshotMode()
          Returns the snapshot-mode element
 String getSnapshotModeAsString()
          Returns the snapshot-mode element
 GenericBooleanType getUseJk()
          Returns the use-jk element
 String getUseJkAsString()
          Returns the use-jk element
 ReplicationConfigType<T> maxUnreplicatedInterval(Integer maxUnreplicatedInterval)
          Sets the max-unreplicated-interval element
 ReplicationConfigType<T> removeBackups()
          Removes the backups element
 ReplicationConfigType<T> removeCacheName()
          Removes the cache-name element
 ReplicationConfigType<T> removeMaxUnreplicatedInterval()
          Removes the max-unreplicated-interval element
 ReplicationConfigType<T> removeReplicationGranularity()
          Removes the replication-granularity attribute
 ReplicationConfigType<T> removeReplicationMode()
          Removes the replication-mode attribute
 ReplicationConfigType<T> removeReplicationTrigger()
          Removes the replication-trigger attribute
 ReplicationConfigType<T> removeSessionNotificationPolicy()
          Removes the session-notification-policy element
 ReplicationConfigType<T> removeSnapshotInterval()
          Removes the snapshot-interval element
 ReplicationConfigType<T> removeSnapshotMode()
          Removes the snapshot-mode attribute
 ReplicationConfigType<T> removeUseJk()
          Removes the use-jk attribute
 ReplicationConfigType<T> replicationGranularity(ReplicationGranularityType replicationGranularity)
          Sets the replication-granularity element
 ReplicationConfigType<T> replicationGranularity(String replicationGranularity)
          Sets the replication-granularity element
 ReplicationConfigType<T> replicationMode(ReplicationModeType replicationMode)
          Sets the replication-mode element
 ReplicationConfigType<T> replicationMode(String replicationMode)
          Sets the replication-mode element
 ReplicationConfigType<T> replicationTrigger(ReplicationTriggerType replicationTrigger)
          Sets the replication-trigger element
 ReplicationConfigType<T> replicationTrigger(String replicationTrigger)
          Sets the replication-trigger element
 ReplicationConfigType<T> sessionNotificationPolicy(String sessionNotificationPolicy)
          Sets the session-notification-policy element
 ReplicationConfigType<T> snapshotInterval(Integer snapshotInterval)
          Sets the snapshot-interval element
 ReplicationConfigType<T> snapshotMode(SnapshotModeType snapshotMode)
          Sets the snapshot-mode element
 ReplicationConfigType<T> snapshotMode(String snapshotMode)
          Sets the snapshot-mode element
 ReplicationConfigType<T> useJk(GenericBooleanType useJk)
          Sets the use-jk element
 ReplicationConfigType<T> useJk(String useJk)
          Sets the use-jk element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

cacheName

ReplicationConfigType<T> cacheName(String cacheName)
Sets the cache-name element

Parameters:
cacheName - the value for the element cache-name
Returns:
the current instance of ReplicationConfigType

getCacheName

String getCacheName()
Returns the cache-name element

Returns:
the node defined for the element cache-name

removeCacheName

ReplicationConfigType<T> removeCacheName()
Removes the cache-name element

Returns:
the current instance of ReplicationConfigType

replicationTrigger

ReplicationConfigType<T> replicationTrigger(ReplicationTriggerType replicationTrigger)
Sets the replication-trigger element

Parameters:
replicationTrigger - the value for the element replication-trigger
Returns:
the current instance of ReplicationConfigType

replicationTrigger

ReplicationConfigType<T> replicationTrigger(String replicationTrigger)
Sets the replication-trigger element

Parameters:
replicationTrigger - the value for the element replication-trigger
Returns:
the current instance of ReplicationConfigType

getReplicationTrigger

ReplicationTriggerType getReplicationTrigger()
Returns the replication-trigger element

Returns:
the value found for the element replication-trigger

getReplicationTriggerAsString

String getReplicationTriggerAsString()
Returns the replication-trigger element

Returns:
the value found for the element replication-trigger

removeReplicationTrigger

ReplicationConfigType<T> removeReplicationTrigger()
Removes the replication-trigger attribute

Returns:
the current instance of ReplicationConfigType

replicationGranularity

ReplicationConfigType<T> replicationGranularity(ReplicationGranularityType replicationGranularity)
Sets the replication-granularity element

Parameters:
replicationGranularity - the value for the element replication-granularity
Returns:
the current instance of ReplicationConfigType

replicationGranularity

ReplicationConfigType<T> replicationGranularity(String replicationGranularity)
Sets the replication-granularity element

Parameters:
replicationGranularity - the value for the element replication-granularity
Returns:
the current instance of ReplicationConfigType

getReplicationGranularity

ReplicationGranularityType getReplicationGranularity()
Returns the replication-granularity element

Returns:
the value found for the element replication-granularity

getReplicationGranularityAsString

String getReplicationGranularityAsString()
Returns the replication-granularity element

Returns:
the value found for the element replication-granularity

removeReplicationGranularity

ReplicationConfigType<T> removeReplicationGranularity()
Removes the replication-granularity attribute

Returns:
the current instance of ReplicationConfigType

replicationMode

ReplicationConfigType<T> replicationMode(ReplicationModeType replicationMode)
Sets the replication-mode element

Parameters:
replicationMode - the value for the element replication-mode
Returns:
the current instance of ReplicationConfigType

replicationMode

ReplicationConfigType<T> replicationMode(String replicationMode)
Sets the replication-mode element

Parameters:
replicationMode - the value for the element replication-mode
Returns:
the current instance of ReplicationConfigType

getReplicationMode

ReplicationModeType getReplicationMode()
Returns the replication-mode element

Returns:
the value found for the element replication-mode

getReplicationModeAsString

String getReplicationModeAsString()
Returns the replication-mode element

Returns:
the value found for the element replication-mode

removeReplicationMode

ReplicationConfigType<T> removeReplicationMode()
Removes the replication-mode attribute

Returns:
the current instance of ReplicationConfigType

backups

ReplicationConfigType<T> backups(Integer backups)
Sets the backups element

Parameters:
backups - the value for the element backups
Returns:
the current instance of ReplicationConfigType

getBackups

Integer getBackups()
Returns the backups element

Returns:
the node defined for the element backups

removeBackups

ReplicationConfigType<T> removeBackups()
Removes the backups element

Returns:
the current instance of ReplicationConfigType

useJk

ReplicationConfigType<T> useJk(GenericBooleanType useJk)
Sets the use-jk element

Parameters:
useJk - the value for the element use-jk
Returns:
the current instance of ReplicationConfigType

useJk

ReplicationConfigType<T> useJk(String useJk)
Sets the use-jk element

Parameters:
useJk - the value for the element use-jk
Returns:
the current instance of ReplicationConfigType

getUseJk

GenericBooleanType getUseJk()
Returns the use-jk element

Returns:
the value found for the element use-jk

getUseJkAsString

String getUseJkAsString()
Returns the use-jk element

Returns:
the value found for the element use-jk

removeUseJk

ReplicationConfigType<T> removeUseJk()
Removes the use-jk attribute

Returns:
the current instance of ReplicationConfigType

maxUnreplicatedInterval

ReplicationConfigType<T> maxUnreplicatedInterval(Integer maxUnreplicatedInterval)
Sets the max-unreplicated-interval element

Parameters:
maxUnreplicatedInterval - the value for the element max-unreplicated-interval
Returns:
the current instance of ReplicationConfigType

getMaxUnreplicatedInterval

Integer getMaxUnreplicatedInterval()
Returns the max-unreplicated-interval element

Returns:
the node defined for the element max-unreplicated-interval

removeMaxUnreplicatedInterval

ReplicationConfigType<T> removeMaxUnreplicatedInterval()
Removes the max-unreplicated-interval element

Returns:
the current instance of ReplicationConfigType

snapshotMode

ReplicationConfigType<T> snapshotMode(SnapshotModeType snapshotMode)
Sets the snapshot-mode element

Parameters:
snapshotMode - the value for the element snapshot-mode
Returns:
the current instance of ReplicationConfigType

snapshotMode

ReplicationConfigType<T> snapshotMode(String snapshotMode)
Sets the snapshot-mode element

Parameters:
snapshotMode - the value for the element snapshot-mode
Returns:
the current instance of ReplicationConfigType

getSnapshotMode

SnapshotModeType getSnapshotMode()
Returns the snapshot-mode element

Returns:
the value found for the element snapshot-mode

getSnapshotModeAsString

String getSnapshotModeAsString()
Returns the snapshot-mode element

Returns:
the value found for the element snapshot-mode

removeSnapshotMode

ReplicationConfigType<T> removeSnapshotMode()
Removes the snapshot-mode attribute

Returns:
the current instance of ReplicationConfigType

snapshotInterval

ReplicationConfigType<T> snapshotInterval(Integer snapshotInterval)
Sets the snapshot-interval element

Parameters:
snapshotInterval - the value for the element snapshot-interval
Returns:
the current instance of ReplicationConfigType

getSnapshotInterval

Integer getSnapshotInterval()
Returns the snapshot-interval element

Returns:
the node defined for the element snapshot-interval

removeSnapshotInterval

ReplicationConfigType<T> removeSnapshotInterval()
Removes the snapshot-interval element

Returns:
the current instance of ReplicationConfigType

sessionNotificationPolicy

ReplicationConfigType<T> sessionNotificationPolicy(String sessionNotificationPolicy)
Sets the session-notification-policy element

Parameters:
sessionNotificationPolicy - the value for the element session-notification-policy
Returns:
the current instance of ReplicationConfigType

getSessionNotificationPolicy

String getSessionNotificationPolicy()
Returns the session-notification-policy element

Returns:
the node defined for the element session-notification-policy

removeSessionNotificationPolicy

ReplicationConfigType<T> removeSessionNotificationPolicy()
Removes the session-notification-policy element

Returns:
the current instance of ReplicationConfigType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.