ReplicationCLIParameters

Command Line Parameters for creating the Replication transformations Script

class DIRAC.TransformationSystem.Utilities.ReplicationCLIParameters.Params

Bases: object

Parameter Object

__init__()

x.__init__(…) initializes x; see help(type(x)) for signature

checkSettings(script, checkArguments=True)

check if all required parameters are set, print error message and return S_ERROR if not

Parameters:
  • script (DIRAC.Core.Base.Script) – The script object
  • checkArguments (bool) – if false do not check for the correct number of arguments, should only be changed if using derived class
registerSwitches(script)

register command line arguments

Parameters:script (DIRAC.Core.Base.Script) – Dirac.Core.Base Script Class
setEnable(_)
setExtraname(extraname)
setGroupName(name)
setGroupSize(size)
setMetaKey(key)
setMetaValues(values)
setMetadata(metadata)
setPlugin(plugin)
setSourceSE(sourceSE)
setTargetSE(targetSE)
setTransFlavour(flavour)