Skip to content
Snippets Groups Projects
Commit d2519656 authored by Michi Hostettler's avatar Michi Hostettler :coffee:
Browse files

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	cern-stubs/accsoft/commons/ccs/__init__.pyi
#	cern-stubs/accsoft/commons/diag/__init__.pyi
#	cern-stubs/accsoft/commons/diag/config/__init__.pyi
#	cern-stubs/accsoft/commons/diag/matcher/__init__.pyi
#	cern-stubs/accsoft/commons/diag/matcher/ccdb/__init__.pyi
#	cern-stubs/accsoft/commons/diag/matcher/cmw/__init__.pyi
#	cern-stubs/accsoft/commons/diag/matcher/cmw/fesa/__init__.pyi
#	cern-stubs/accsoft/commons/diag/matcher/japc/__init__.pyi
#	cern-stubs/accsoft/commons/diag/matcher/rbac/__init__.pyi
#	cern-stubs/accsoft/commons/diag/matcher/tgm/__init__.pyi
#	cern-stubs/accsoft/commons/domain/__init__.pyi
#	cern-stubs/accsoft/commons/domain/json/__init__.pyi
#	cern-stubs/accsoft/commons/domain/json/defaultobjects/__init__.pyi
#	cern-stubs/accsoft/commons/domain/json/modules/__init__.pyi
#	cern-stubs/accsoft/commons/domain/json/modules/cern/__init__.pyi
#	cern-stubs/accsoft/commons/domain/particletransfers/__init__.pyi
#	cern-stubs/accsoft/commons/domain/zones/__init__.pyi
#	cern-stubs/accsoft/commons/rest/core/__init__.pyi
#	cern-stubs/accsoft/commons/rest/core/annotations/__init__.pyi
#	cern-stubs/accsoft/commons/rest/core/enums/__init__.pyi
#	cern-stubs/accsoft/commons/rest/core/exceptions/__init__.pyi
#	cern-stubs/accsoft/commons/rest/core/maps/__init__.pyi
#	cern-stubs/accsoft/commons/util/__init__.pyi
#	cern-stubs/accsoft/commons/util/collections/__init__.pyi
#	cern-stubs/accsoft/commons/value/__init__.pyi
#	cern-stubs/accsoft/commons/value/expression/__init__.pyi
#	cern-stubs/accsoft/commons/value/json/__init__.pyi
#	cern-stubs/accsoft/commons/value/json/array/__init__.pyi
#	cern-stubs/accsoft/commons/value/json/array2d/__init__.pyi
#	cern-stubs/accsoft/commons/value/json/common/__init__.pyi
#	cern-stubs/accsoft/commons/value/json/descriptor/__init__.pyi
#	cern-stubs/accsoft/commons/value/json/function/__init__.pyi
#	cern-stubs/accsoft/commons/value/json/function/discrete/__init__.pyi
#	cern-stubs/accsoft/commons/value/json/function/discrete/array/__init__.pyi
#	cern-stubs/accsoft/commons/value/json/function/discrete/list/__init__.pyi
#	cern-stubs/accsoft/commons/value/json/function/polynomial/__init__.pyi
#	cern-stubs/accsoft/commons/value/json/function/polynomial/bounded/__init__.pyi
#	cern-stubs/accsoft/commons/value/json/function/polynomial/bounded/sequence/__init__.pyi
#	cern-stubs/accsoft/commons/value/json/scalar/__init__.pyi
#	cern-stubs/accsoft/commons/value/operation/__init__.pyi
#	cern-stubs/accsoft/commons/value/operation/factory/__init__.pyi
#	cern-stubs/accsoft/commons/value/spi/__init__.pyi
#	cern-stubs/accsoft/commons/value/spi/function/__init__.pyi
#	cern-stubs/accsoft/commons/value/spi/operation/__init__.pyi
#	cern-stubs/accsoft/commons/value/spi/operation/factory/__init__.pyi
#	cern-stubs/japc/core/__init__.pyi
#	cern-stubs/japc/core/device/__init__.pyi
#	cern-stubs/japc/core/device/impl/__init__.pyi
#	cern-stubs/japc/core/directory/client/__init__.pyi
#	cern-stubs/japc/core/directory/client/services/__init__.pyi
#	cern-stubs/japc/core/directory/client/spi/__init__.pyi
#	cern-stubs/japc/core/factory/__init__.pyi
#	cern-stubs/japc/core/group/__init__.pyi
#	cern-stubs/japc/core/group/support/__init__.pyi
#	cern-stubs/japc/core/spi/__init__.pyi
#	cern-stubs/japc/core/spi/adaptation/__init__.pyi
#	cern-stubs/japc/core/spi/arraycall/__init__.pyi
#	cern-stubs/japc/core/spi/arraycall/group/__init__.pyi
#	cern-stubs/japc/core/spi/beans/__init__.pyi
#	cern-stubs/japc/core/spi/cache/__init__.pyi
#	cern-stubs/japc/core/spi/factory/__init__.pyi
#	cern-stubs/japc/core/spi/factory/impl/__init__.pyi
#	cern-stubs/japc/core/spi/group/__init__.pyi
#	cern-stubs/japc/core/spi/jmx/__init__.pyi
#	cern-stubs/japc/core/spi/provider/__init__.pyi
#	cern-stubs/japc/core/spi/subscription/__init__.pyi
#	cern-stubs/japc/core/spi/transaction/__init__.pyi
#	cern-stubs/japc/core/spi/util/__init__.pyi
#	cern-stubs/japc/core/spi/value/__init__.pyi
#	cern-stubs/japc/core/support/__init__.pyi
#	cern-stubs/japc/core/transaction/__init__.pyi
#	cern-stubs/japc/core/trigger/__init__.pyi
#	cern-stubs/japc/core/util/__init__.pyi
#	cern-stubs/japc/value/__init__.pyi
#	cern-stubs/japc/value/factory/__init__.pyi
#	cern-stubs/japc/value/spi/util/__init__.pyi
#	cern-stubs/japc/value/spi/value/__init__.pyi
#	cern-stubs/japc/value/spi/value/core/__init__.pyi
#	cern-stubs/japc/value/spi/value/simple/__init__.pyi
#	cern-stubs/lsa/client/__init__.pyi
#	cern-stubs/lsa/client/common/__init__.pyi
#	cern-stubs/lsa/client/common/test/__init__.pyi
#	cern-stubs/lsa/client/resolver/__init__.pyi
#	cern-stubs/lsa/client/rest/api/v1/__init__.pyi
#	cern-stubs/lsa/client/rest/api/v1/dto/devices/__init__.pyi
#	cern-stubs/lsa/client/rest/api/v1/dto/parameter/__init__.pyi
#	cern-stubs/lsa/client/rest/api/v1/feign/__init__.pyi
#	cern-stubs/lsa/client/rest/cern/api/v1/__init__.pyi
#	cern-stubs/lsa/client/rest/cern/api/v1/feign/__init__.pyi
#	cern-stubs/lsa/client/spi/rba/__init__.pyi
#	cern-stubs/lsa/domain/cern/optics/ofb/__init__.pyi
#	cern-stubs/lsa/domain/cern/settings/__init__.pyi
#	cern-stubs/lsa/domain/commons/__init__.pyi
#	cern-stubs/lsa/domain/commons/cache/__init__.pyi
#	cern-stubs/lsa/domain/devices/__init__.pyi
#	cern-stubs/lsa/domain/devices/type/__init__.pyi
#	cern-stubs/lsa/domain/exploitation/__init__.pyi
#	cern-stubs/lsa/domain/optics/__init__.pyi
#	cern-stubs/lsa/domain/settings/__init__.pyi
#	cern-stubs/lsa/domain/settings/spi/__init__.pyi
#	cern-stubs/rbac/common/__init__.pyi
#	cern-stubs/rbac/common/authentication/__init__.pyi
#	cern-stubs/rbac/common/authorization/__init__.pyi
#	cern-stubs/rbac/common/impl/__init__.pyi
#	cern-stubs/rbac/common/impl/decode/__init__.pyi
#	cern-stubs/rbac/common/impl/exec_/__init__.pyi
#	cern-stubs/rbac/common/impl/keys/__init__.pyi
#	cern-stubs/rbac/common/impl/request/__init__.pyi
#	cern-stubs/rbac/common/impl/response/__init__.pyi
#	cern-stubs/rbac/common/impl/serialization/__init__.pyi
#	cern-stubs/rbac/common/impl/serialization/decode/__init__.pyi
#	cern-stubs/rbac/common/test/__init__.pyi
parents 8771fcad 5cdad443
No related branches found
No related tags found
No related merge requests found
Pipeline #11786535 failed
Showing
with 137 additions and 2754 deletions
......@@ -13,143 +13,29 @@ import typing
class BeamDestination(cern.accsoft.commons.util.Named):
"""
public interface BeamDestination extends cern.accsoft.commons.util.Named
Accelerator beam destination.
"""
def getAccelerator(self) -> cern.accsoft.commons.domain.Accelerator:
"""
Returns:
the accelerator this beam destination belongs to (never :code:`null`)
"""
...
def getAccelerator(self) -> cern.accsoft.commons.domain.Accelerator: ...
def getEndPoints(self) -> java.util.Set['BeamDestinationEndPoint']: ...
class BeamDestinationEndPoint(cern.accsoft.commons.util.Named):
"""
public interface BeamDestinationEndPoint extends cern.accsoft.commons.util.Named
Accelerator beam destination end point.
"""
def getBeamDestination(self) -> BeamDestination:
"""
Returns:
the beam destination this end point belongs to (never :code:`null`)
"""
...
def getBeamDestination(self) -> BeamDestination: ...
class SpsAwakeEndPoint(cern.accsoft.commons.util.AbstractImmutableNamedSerializable['SpsAwakeEndPoint'], BeamDestinationEndPoint):
"""
public class SpsAwakeEndPoint extends cern.accsoft.commons.util.AbstractImmutableNamedSerializable<:class:`~cern.accsoft.commons.domain.beamdestinations.SpsAwakeEndPoint`> implements :class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint`
SPS AWAKE end points.
Also see:
:meth:`~serialized`
"""
NO_EXTRACTION: typing.ClassVar['SpsAwakeEndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsAwakeEndPoint` NO_EXTRACTION
NO EXTRACTION
"""
T40: typing.ClassVar['SpsAwakeEndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsAwakeEndPoint` T40
T40
"""
TT40_TED: typing.ClassVar['SpsAwakeEndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsAwakeEndPoint` TT40_TED
TT40 TED
"""
def getBeamDestination(self) -> 'SpsBeamDestination':
"""
Specified by:
:meth:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint.getBeamDestination`Â in
interface :class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint`
Returns:
the beam destination this end point belongs to (never :code:`null`)
"""
...
def getBeamDestination(self) -> 'SpsBeamDestination': ...
@staticmethod
def valueOf(string: str) -> 'SpsAwakeEndPoint': ...
@staticmethod
def values() -> typing.MutableSequence['SpsAwakeEndPoint']: ...
class SpsBeamDestination(cern.accsoft.commons.util.AbstractImmutableNamedSerializable['SpsBeamDestination'], BeamDestination):
"""
public class SpsBeamDestination extends cern.accsoft.commons.util.AbstractImmutableNamedSerializable<:class:`~cern.accsoft.commons.domain.beamdestinations.SpsBeamDestination`> implements :class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestination`
SPS beam destinations.
Also see:
:meth:`~serialized`
"""
AWAKE: typing.ClassVar['SpsBeamDestination'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsBeamDestination` AWAKE
AWAKE
"""
FTARGET: typing.ClassVar['SpsBeamDestination'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsBeamDestination` FTARGET
Fixed Target
"""
HIRADMAT: typing.ClassVar['SpsBeamDestination'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsBeamDestination` HIRADMAT
HIRADMAT
"""
LHC_B1: typing.ClassVar['SpsBeamDestination'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsBeamDestination` LHC_B1
LHC B1
"""
LHC_B2: typing.ClassVar['SpsBeamDestination'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsBeamDestination` LHC_B2
LHC B2
"""
def getAccelerator(self) -> cern.accsoft.commons.domain.Accelerator:
"""
Specified by:
:meth:`~cern.accsoft.commons.domain.beamdestinations.BeamDestination.getAccelerator`Â in
interface :class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestination`
Returns:
the accelerator this beam destination belongs to (never :code:`null`)
"""
...
def getAccelerator(self) -> cern.accsoft.commons.domain.Accelerator: ...
def getEndPoints(self) -> java.util.Set[BeamDestinationEndPoint]: ...
@staticmethod
def valueOf(string: str) -> 'SpsBeamDestination': ...
......@@ -157,213 +43,43 @@ class SpsBeamDestination(cern.accsoft.commons.util.AbstractImmutableNamedSeriali
def values() -> typing.MutableSequence['SpsBeamDestination']: ...
class SpsFTargetEndPoint(cern.accsoft.commons.util.AbstractImmutableNamedSerializable['SpsFTargetEndPoint'], BeamDestinationEndPoint):
"""
public class SpsFTargetEndPoint extends cern.accsoft.commons.util.AbstractImmutableNamedSerializable<:class:`~cern.accsoft.commons.domain.beamdestinations.SpsFTargetEndPoint`> implements :class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint`
SPS FTARGET end points.
Also see:
:meth:`~serialized`
"""
NO_EXTRACTION: typing.ClassVar['SpsFTargetEndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsFTargetEndPoint` NO_EXTRACTION
NO EXTRACTION
"""
T2_T4_T6: typing.ClassVar['SpsFTargetEndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsFTargetEndPoint` T2_T4_T6
T2 T4 T6
"""
T2_T4_T6_T10: typing.ClassVar['SpsFTargetEndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsFTargetEndPoint` T2_T4_T6_T10
T2 T4 T6 T10
"""
TT20_TED: typing.ClassVar['SpsFTargetEndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsFTargetEndPoint` TT20_TED
TT20 TED
"""
def getBeamDestination(self) -> SpsBeamDestination:
"""
Specified by:
:meth:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint.getBeamDestination`Â in
interface :class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint`
Returns:
the beam destination this end point belongs to (never :code:`null`)
"""
...
def getBeamDestination(self) -> SpsBeamDestination: ...
@staticmethod
def valueOf(string: str) -> 'SpsFTargetEndPoint': ...
@staticmethod
def values() -> typing.MutableSequence['SpsFTargetEndPoint']: ...
class SpsHiradmatEndPoint(cern.accsoft.commons.util.AbstractImmutableNamedSerializable['SpsHiradmatEndPoint'], BeamDestinationEndPoint):
"""
public class SpsHiradmatEndPoint extends cern.accsoft.commons.util.AbstractImmutableNamedSerializable<:class:`~cern.accsoft.commons.domain.beamdestinations.SpsHiradmatEndPoint`> implements :class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint`
SPS HIRADMAT end points.
Also see:
:meth:`~serialized`
"""
NO_EXTRACTION: typing.ClassVar['SpsHiradmatEndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsHiradmatEndPoint` NO_EXTRACTION
NO EXTRACTION
"""
TT60_TED: typing.ClassVar['SpsHiradmatEndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsHiradmatEndPoint` TT60_TED
TT60 TED
"""
TEST_BENCH: typing.ClassVar['SpsHiradmatEndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsHiradmatEndPoint` TEST_BENCH
TEST BEANCH
"""
def getBeamDestination(self) -> SpsBeamDestination:
"""
Specified by:
:meth:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint.getBeamDestination`Â in
interface :class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint`
Returns:
the beam destination this end point belongs to (never :code:`null`)
"""
...
def getBeamDestination(self) -> SpsBeamDestination: ...
@staticmethod
def valueOf(string: str) -> 'SpsHiradmatEndPoint': ...
@staticmethod
def values() -> typing.MutableSequence['SpsHiradmatEndPoint']: ...
class SpsLhcB1EndPoint(cern.accsoft.commons.util.AbstractImmutableNamedSerializable['SpsLhcB1EndPoint'], BeamDestinationEndPoint):
"""
public class SpsLhcB1EndPoint extends cern.accsoft.commons.util.AbstractImmutableNamedSerializable<:class:`~cern.accsoft.commons.domain.beamdestinations.SpsLhcB1EndPoint`> implements :class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint`
SPS LHC B1 end points.
Also see:
:meth:`~serialized`
"""
NO_EXTRACTION: typing.ClassVar['SpsLhcB1EndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsLhcB1EndPoint` NO_EXTRACTION
NO EXTRACTION
"""
LHC_RING1: typing.ClassVar['SpsLhcB1EndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsLhcB1EndPoint` LHC_RING1
LHC RING1
"""
TI2_TED: typing.ClassVar['SpsLhcB1EndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsLhcB1EndPoint` TI2_TED
TI2 TED
"""
TT60_TED: typing.ClassVar['SpsLhcB1EndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsLhcB1EndPoint` TT60_TED
TT60 TED
"""
def getBeamDestination(self) -> SpsBeamDestination:
"""
Specified by:
:meth:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint.getBeamDestination`Â in
interface :class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint`
Returns:
the beam destination this end point belongs to (never :code:`null`)
"""
...
def getBeamDestination(self) -> SpsBeamDestination: ...
@staticmethod
def valueOf(string: str) -> 'SpsLhcB1EndPoint': ...
@staticmethod
def values() -> typing.MutableSequence['SpsLhcB1EndPoint']: ...
class SpsLhcB2EndPoint(cern.accsoft.commons.util.AbstractImmutableNamedSerializable['SpsLhcB2EndPoint'], BeamDestinationEndPoint):
"""
public class SpsLhcB2EndPoint extends cern.accsoft.commons.util.AbstractImmutableNamedSerializable<:class:`~cern.accsoft.commons.domain.beamdestinations.SpsLhcB2EndPoint`> implements :class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint`
SPS LHC B2 end points.
Also see:
:meth:`~serialized`
"""
NO_EXTRACTION: typing.ClassVar['SpsLhcB2EndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsLhcB2EndPoint` NO_EXTRACTION
NO EXTRACTION
"""
LHC_RING2: typing.ClassVar['SpsLhcB2EndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsLhcB2EndPoint` LHC_RING2
LHC RING2
"""
TI8_TED: typing.ClassVar['SpsLhcB2EndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsLhcB2EndPoint` TI8_TED
TI8 TED
"""
TT40_TED: typing.ClassVar['SpsLhcB2EndPoint'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.beamdestinations.SpsLhcB2EndPoint` TT40_TED
TT40 TED
"""
def getBeamDestination(self) -> SpsBeamDestination:
"""
Specified by:
:meth:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint.getBeamDestination`Â in
interface :class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint`
Returns:
the beam destination this end point belongs to (never :code:`null`)
"""
...
def getBeamDestination(self) -> SpsBeamDestination: ...
@staticmethod
def valueOf(string: str) -> 'SpsLhcB2EndPoint': ...
@staticmethod
......
This diff is collapsed.
......@@ -14,33 +14,8 @@ import typing
class GlobalConstants:
"""
public class GlobalConstants extends java.lang.Object
Global world constants.
"""
SPEED_OF_LIGHT: typing.ClassVar[float] = ...
"""
public static final double SPEED_OF_LIGHT
The speed of light in m/s.
Also see:
:meth:`~constant`
"""
UNIFIED_ATOMIC_MASS_UNIT: typing.ClassVar[float] = ...
"""
public static final double UNIFIED_ATOMIC_MASS_UNIT
Unified Atomic Mass Unit in MeV/c2
Also see:
:meth:`~constant`
"""
def __init__(self): ...
......
......@@ -10,55 +10,10 @@ import typing
class LhcConstants:
"""
public class LhcConstants extends java.lang.Object
Constants for LHC.
"""
BENDING_RADIUS_LHC: typing.ClassVar[float] = ...
"""
public static final double BENDING_RADIUS_LHC
The magnetic bending radius for the LHC in meters.
Also see:
:meth:`~constant`
"""
MACHINE_CIRCUMFERENCE_LHC: typing.ClassVar[float] = ...
"""
public static final double MACHINE_CIRCUMFERENCE_LHC
The LHC circumference in meters.
Also see:
:meth:`~constant`
"""
MACHINE_RADIUS_LHC: typing.ClassVar[float] = ...
"""
public static final double MACHINE_RADIUS_LHC
The LHC radius in meters
Also see:
:meth:`~constant`
"""
GAMMA_TRANSITION_LHC: typing.ClassVar[float] = ...
"""
public static final double GAMMA_TRANSITION_LHC
Gamma transition for LHC Proton
Also see:
:meth:`~constant`
"""
def __init__(self): ...
......
......@@ -10,55 +10,10 @@ import typing
class PsConstants:
"""
public class PsConstants extends java.lang.Object
Constants for PS.
"""
PS_BENDING_RADIUS: typing.ClassVar[float] = ...
"""
public static final double PS_BENDING_RADIUS
The magnetic bending radius for the PS in meters
Also see:
:meth:`~constant`
"""
PS_MACHINE_RADIUS: typing.ClassVar[float] = ...
"""
public static final double PS_MACHINE_RADIUS
The physical bending radius for the PS in meters
Also see:
:meth:`~constant`
"""
PS_MACHINE_CIRCUMNFERENCE: typing.ClassVar[float] = ...
"""
public static final double PS_MACHINE_CIRCUMNFERENCE
The circumference of PS in meters
Also see:
:meth:`~constant`
"""
PS_GAMMA_TRANSITION: typing.ClassVar[float] = ...
"""
public static final double PS_GAMMA_TRANSITION
Gamma transition for PS Proton
Also see:
:meth:`~constant`
"""
def __init__(self): ...
......
......@@ -10,55 +10,10 @@ import typing
class PsbConstants:
"""
public class PsbConstants extends java.lang.Object
Constants for PSB.
"""
PSB_BENDING_RADIUS: typing.ClassVar[float] = ...
"""
public static final double PSB_BENDING_RADIUS
The magnetic bending radius for the PSB in meters
Also see:
:meth:`~constant`
"""
PSB_MACHINE_RADIUS: typing.ClassVar[float] = ...
"""
public static final double PSB_MACHINE_RADIUS
The physical bending radius for the PSB in meters
Also see:
:meth:`~constant`
"""
PSB_MACHINE_CIRCUMFERENCE: typing.ClassVar[float] = ...
"""
public static final double PSB_MACHINE_CIRCUMFERENCE
The circumference of PSB in meters
Also see:
:meth:`~constant`
"""
PSB_GAMMA_TRANSITION: typing.ClassVar[float] = ...
"""
public static final double PSB_GAMMA_TRANSITION
Gamma transition for PSB Proton
Also see:
:meth:`~constant`
"""
def __init__(self): ...
......
......@@ -10,55 +10,10 @@ import typing
class SpsConstants:
"""
public class SpsConstants extends java.lang.Object
Constants for SPS.
"""
SPS_BENDING_RADIUS: typing.ClassVar[float] = ...
"""
public static final double SPS_BENDING_RADIUS
The magnetic bending radius for the SPS in meters
Also see:
:meth:`~constant`
"""
SPS_MACHINE_RADIUS: typing.ClassVar[float] = ...
"""
public static final double SPS_MACHINE_RADIUS
The physical bending radius for the SPS in meters
Also see:
:meth:`~constant`
"""
SPS_MACHINE_CIRCUMFERENCE: typing.ClassVar[float] = ...
"""
public static final double SPS_MACHINE_CIRCUMFERENCE
The circumference of SPS in meters
Also see:
:meth:`~constant`
"""
SPS_GAMMA_TRANSITION: typing.ClassVar[float] = ...
"""
public static final double SPS_GAMMA_TRANSITION
Gamma transition for SPS Proton
Also see:
:meth:`~constant`
"""
def __init__(self): ...
......
......@@ -10,354 +10,49 @@ import typing
class ClassDesignNames:
"""
public final class ClassDesignNames extends java.lang.Object
"""
MAX_SUFFIX_LC: typing.ClassVar[str] = ...
"""
public static final java.lang.String MAX_SUFFIX_LC
Standard field name suffix for the maximum value
Also see:
:meth:`~constant`
"""
MAX_SUFFIX_UC: typing.ClassVar[str] = ...
"""
public static final java.lang.String MAX_SUFFIX_UC
Also see:
:meth:`~constant`
"""
MIN_SUFFIX_LC: typing.ClassVar[str] = ...
"""
public static final java.lang.String MIN_SUFFIX_LC
Standard field name suffix for the minimum value
Also see:
:meth:`~constant`
"""
MIN_SUFFIX_UC: typing.ClassVar[str] = ...
"""
public static final java.lang.String MIN_SUFFIX_UC
Also see:
:meth:`~constant`
"""
UNITS_SUFFIX_LC: typing.ClassVar[str] = ...
"""
public static final java.lang.String UNITS_SUFFIX_LC
Standard field name suffix for the units
Also see:
:meth:`~constant`
"""
UNITS_SUFFIX_UC: typing.ClassVar[str] = ...
"""
public static final java.lang.String UNITS_SUFFIX_UC
Also see:
:meth:`~constant`
"""
MAX_X_SUFFIX_LC: typing.ClassVar[str] = ...
"""
public static final java.lang.String MAX_X_SUFFIX_LC
Standard field name suffix for the x maximum value
Also see:
:meth:`~constant`
"""
MAX_X_SUFFIX_UC: typing.ClassVar[str] = ...
"""
public static final java.lang.String MAX_X_SUFFIX_UC
Also see:
:meth:`~constant`
"""
MIN_X_SUFFIX_LC: typing.ClassVar[str] = ...
"""
public static final java.lang.String MIN_X_SUFFIX_LC
Standard field name suffix for the x minimum value
Also see:
:meth:`~constant`
"""
MIN_X_SUFFIX_UC: typing.ClassVar[str] = ...
"""
public static final java.lang.String MIN_X_SUFFIX_UC
Also see:
:meth:`~constant`
"""
UNITS_X_SUFFIX_LC: typing.ClassVar[str] = ...
"""
public static final java.lang.String UNITS_X_SUFFIX_LC
Standard field name suffix for the units of the x axis
Also see:
:meth:`~constant`
"""
UNITS_X_SUFFIX_UC: typing.ClassVar[str] = ...
"""
public static final java.lang.String UNITS_X_SUFFIX_UC
Also see:
:meth:`~constant`
"""
STATUS_SUFFIX_LC: typing.ClassVar[str] = ...
"""
public static final java.lang.String STATUS_SUFFIX_LC
Standard field name suffix for the value status
Also see:
:meth:`~constant`
"""
STATUS_SUFFIX_UC: typing.ClassVar[str] = ...
"""
public static final java.lang.String STATUS_SUFFIX_UC
Also see:
:meth:`~constant`
"""
@staticmethod
def assertDeviceName(string: str) -> None:
"""
Asserts that the given String is a valid device name.
Parameters:
deviceName (java.lang.String): device name to check
Raises:
java.lang.IllegalArgumentException: if the given string is not a valid device name
"""
...
def assertDeviceName(string: str) -> None: ...
@staticmethod
def assertFieldName(string: str) -> None:
"""
Asserts that the given String is a valid field name.
Parameters:
fieldName (java.lang.String): field name to check
Raises:
java.lang.IllegalArgumentException: if the given string is not a valid field name
"""
...
def assertFieldName(string: str) -> None: ...
@staticmethod
def assertPropertyName(string: str) -> None:
"""
Asserts that the given String is a valid property name.
Parameters:
propertyName (java.lang.String): property name to check
Raises:
java.lang.IllegalArgumentException: if the given string is not a valid property name
"""
...
def assertPropertyName(string: str) -> None: ...
@staticmethod
def isDeviceName(string: str) -> bool:
"""
Return :code:`true` if the given String is a valid device name and :code:`false` otherwise.
Parameters:
deviceName (java.lang.String): device name to check
Returns:
:code:`true` if the given String is a valid device name
"""
...
def isDeviceName(string: str) -> bool: ...
@staticmethod
def isFieldName(string: str) -> bool:
"""
Return :code:`true` if the given String is a valid field name and :code:`false` otherwise.
Parameters:
fieldName (java.lang.String): field name to check
Returns:
:code:`true` if the given String is a valid field name
"""
...
def isFieldName(string: str) -> bool: ...
@staticmethod
def isMetaInfoFieldName(string: str) -> bool:
"""
Returns :code:`true` if the given field name is a meta-field name (ends with _min, _max, _units, _status).
Parameters:
fieldName (java.lang.String): field name to check
Returns:
:code:`true` if the given field name is a meta-field name
"""
...
def isMetaInfoFieldName(string: str) -> bool: ...
@staticmethod
def isPropertyName(string: str) -> bool:
"""
Return :code:`true` if the given String is a valid property name and :code:`false` otherwise.
Parameters:
propertyName (java.lang.String): property name to check
Returns:
:code:`true` if the given String is a valid property name
"""
...
def isPropertyName(string: str) -> bool: ...
class ParameterNames:
"""
public final class ParameterNames extends java.lang.Object
"""
PROTOCOL_SERVICE_SEPARATOR: typing.ClassVar[str] = ...
"""
public static final java.lang.String PROTOCOL_SERVICE_SEPARATOR
The separator between protocol and service
Also see:
:meth:`~constant`
"""
SERVICE_DEVICE_SEPARATOR: typing.ClassVar[str] = ...
"""
public static final java.lang.String SERVICE_DEVICE_SEPARATOR
The separator between service and device
Also see:
:meth:`~constant`
"""
DEVICE_PROPERTY_SEPARATOR: typing.ClassVar[str] = ...
"""
public static final java.lang.String DEVICE_PROPERTY_SEPARATOR
The separator between device and property
Also see:
:meth:`~constant`
"""
PROPERTY_FIELD_SEPARATOR: typing.ClassVar[str] = ...
"""
public static final java.lang.String PROPERTY_FIELD_SEPARATOR
The separator between property and field
Also see:
:meth:`~constant`
"""
@typing.overload
@staticmethod
def assertParameterName(string: str) -> None:
"""
Asserts that the given String is a valid parameter name.
Parameters:
parameterName (java.lang.String): parameter name to check
Raises:
java.lang.IllegalArgumentException: if the given string is not a valid parameter name
Asserts that the given String is a valid parameter name.
Parameters:
parameterName (java.lang.String): parameter name to check
strictCheck (boolean): if true the method will check the parameterName for the presence of incorrect characters
Raises:
java.lang.IllegalArgumentException: if the given string is not a valid parameter name
"""
...
def assertParameterName(string: str) -> None: ...
@typing.overload
@staticmethod
def assertParameterName(string: str, boolean: bool) -> None: ...
@typing.overload
@staticmethod
def isParameterName(string: str) -> bool:
"""
Return :code:`true` if the given String is a valid parameter name and :code:`false` otherwise.
Parameters:
parameterName (java.lang.String): parameter name to check
Returns:
:code:`true` if the given String is a valid parameter name
Return :code:`true` if the given String is a valid parameter name and :code:`false` otherwise.
Parameters:
parameterName (java.lang.String): the name identifying the parameter
strictCheck (boolean): if true the method will check the parameterName for the presence of incorrect characters
Returns:
:code:`true` if the given String is a valid parameter name
"""
...
def isParameterName(string: str) -> bool: ...
@typing.overload
@staticmethod
def isParameterName(string: str, boolean: bool) -> bool: ...
......
......@@ -11,64 +11,17 @@ import typing
class AccsoftDomainHelper:
"""
public class AccsoftDomainHelper extends java.lang.Object
Helper methods intended to be used internally.
"""
_immutableListOf__E = typing.TypeVar('_immutableListOf__E') # <E>
@staticmethod
def immutableListOf(*e: _immutableListOf__E) -> java.util.List[_immutableListOf__E]:
"""
Parameters:
elements (E...): elements of the list
Returns:
immutable list of the provided elements
"""
...
def immutableListOf(*e: _immutableListOf__E) -> java.util.List[_immutableListOf__E]: ...
_immutableMapByNameOf__E = typing.TypeVar('_immutableMapByNameOf__E') # <E>
@staticmethod
def immutableMapByNameOf(class_: typing.Type[_immutableMapByNameOf__E]) -> java.util.Map[str, _immutableMapByNameOf__E]:
"""
Parameters:
enumClass (java.lang.Class<? extends E> enumClass): enumeration class
Returns:
immutable map of all the enumeration values pointed to by their names
"""
...
def immutableMapByNameOf(class_: typing.Type[_immutableMapByNameOf__E]) -> java.util.Map[str, _immutableMapByNameOf__E]: ...
_immutableSetOf_0__E = typing.TypeVar('_immutableSetOf_0__E') # <E>
_immutableSetOf_1__E = typing.TypeVar('_immutableSetOf_1__E') # <E>
@typing.overload
@staticmethod
def immutableSetOf(class_: typing.Type[_immutableSetOf_0__E]) -> java.util.Set[_immutableSetOf_0__E]:
"""
Parameters:
enumClass (java.lang.Class<? extends E> enumClass): enumeration class
Returns:
immutable set of all the enumeration values
@SafeVarargs public static <E> java.util.Set<E> immutableSetOf (E... elements)
Parameters:
elements (E...): elements of the set
Returns:
immutable set of the provided elements
"""
...
def immutableSetOf(class_: typing.Type[_immutableSetOf_0__E]) -> java.util.Set[_immutableSetOf_0__E]: ...
@typing.overload
@staticmethod
def immutableSetOf(*e: _immutableSetOf_1__E) -> java.util.Set[_immutableSetOf_1__E]: ...
......
......@@ -12,67 +12,18 @@ import typing
class LhcExperiment(cern.accsoft.commons.util.AbstractImmutableNamedSerializable['LhcExperiment']):
"""
public class LhcExperiment extends cern.accsoft.commons.util.AbstractImmutableNamedSerializable<:class:`~cern.accsoft.commons.domain.lhc.LhcExperiment`>
LHC experiments.
Also see:
:meth:`~serialized`
"""
ATLAS: typing.ClassVar['LhcExperiment'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.lhc.LhcExperiment` ATLAS
ATLAS
"""
ALICE: typing.ClassVar['LhcExperiment'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.lhc.LhcExperiment` ALICE
ALICE
"""
CMS: typing.ClassVar['LhcExperiment'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.lhc.LhcExperiment` CMS
CMS
"""
LHCB: typing.ClassVar['LhcExperiment'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.lhc.LhcExperiment` LHCB
LHCB
"""
LHCF: typing.ClassVar['LhcExperiment'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.lhc.LhcExperiment` LHCF
LHCF
"""
TOTEM: typing.ClassVar['LhcExperiment'] = ...
"""
public static final :class:`~cern.accsoft.commons.domain.lhc.LhcExperiment` TOTEM
TOTEM
"""
@staticmethod
def valueOf(string: str) -> 'LhcExperiment': ...
@staticmethod
def values() -> typing.MutableSequence['LhcExperiment']: ...
class LhcInteractionPoint(java.lang.Enum['LhcInteractionPoint'], cern.accsoft.commons.util.Named):
"""
public enum LhcInteractionPoint extends java.lang.Enum<:class:`~cern.accsoft.commons.domain.lhc.LhcInteractionPoint`> implements cern.accsoft.commons.util.Named
LHC interaction points.
"""
LHC_IP1: typing.ClassVar['LhcInteractionPoint'] = ...
LHC_IP2: typing.ClassVar['LhcInteractionPoint'] = ...
LHC_IP3: typing.ClassVar['LhcInteractionPoint'] = ...
......@@ -81,64 +32,18 @@ class LhcInteractionPoint(java.lang.Enum['LhcInteractionPoint'], cern.accsoft.co
LHC_IP6: typing.ClassVar['LhcInteractionPoint'] = ...
LHC_IP7: typing.ClassVar['LhcInteractionPoint'] = ...
LHC_IP8: typing.ClassVar['LhcInteractionPoint'] = ...
def getName(self) -> str:
"""
Specified by:
:code:`getName` in interface :code:`cern.accsoft.commons.util.Named`
"""
...
def getName(self) -> str: ...
_valueOf_1__T = typing.TypeVar('_valueOf_1__T', bound=java.lang.Enum) # <T>
@typing.overload
@staticmethod
def valueOf(string: str) -> 'LhcInteractionPoint':
"""
Returns the enum constant of this type with the specified name. The string must match *exactly* an identifier used to
declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name (java.lang.String): the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Raises:
java.lang.IllegalArgumentException: if this enum type has no constant with the specified name
java.lang.NullPointerException: if the argument is null
"""
...
def valueOf(string: str) -> 'LhcInteractionPoint': ...
@typing.overload
@staticmethod
def valueOf(class_: typing.Type[_valueOf_1__T], string: str) -> _valueOf_1__T: ...
@staticmethod
def values() -> typing.MutableSequence['LhcInteractionPoint']:
"""
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to
iterate over the constants as follows:
.. code-block: java
for (LhcInteractionPoint c : LhcInteractionPoint.values())
System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
"""
...
def values() -> typing.MutableSequence['LhcInteractionPoint']: ...
class LhcSector(java.lang.Enum['LhcSector'], cern.accsoft.commons.util.Named):
"""
public enum LhcSector extends java.lang.Enum<:class:`~cern.accsoft.commons.domain.lhc.LhcSector`> implements cern.accsoft.commons.util.Named
LHC sectors.
"""
SECTOR_12: typing.ClassVar['LhcSector'] = ...
SECTOR_23: typing.ClassVar['LhcSector'] = ...
SECTOR_34: typing.ClassVar['LhcSector'] = ...
......@@ -147,57 +52,16 @@ class LhcSector(java.lang.Enum['LhcSector'], cern.accsoft.commons.util.Named):
SECTOR_67: typing.ClassVar['LhcSector'] = ...
SECTOR_78: typing.ClassVar['LhcSector'] = ...
SECTOR_81: typing.ClassVar['LhcSector'] = ...
def getName(self) -> str:
"""
Specified by:
:code:`getName` in interface :code:`cern.accsoft.commons.util.Named`
"""
...
def getName(self) -> str: ...
_valueOf_1__T = typing.TypeVar('_valueOf_1__T', bound=java.lang.Enum) # <T>
@typing.overload
@staticmethod
def valueOf(string: str) -> 'LhcSector':
"""
Returns the enum constant of this type with the specified name. The string must match *exactly* an identifier used to
declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name (java.lang.String): the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Raises:
java.lang.IllegalArgumentException: if this enum type has no constant with the specified name
java.lang.NullPointerException: if the argument is null
"""
...
def valueOf(string: str) -> 'LhcSector': ...
@typing.overload
@staticmethod
def valueOf(class_: typing.Type[_valueOf_1__T], string: str) -> _valueOf_1__T: ...
@staticmethod
def values() -> typing.MutableSequence['LhcSector']:
"""
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to
iterate over the constants as follows:
.. code-block: java
for (LhcSector c : LhcSector.values())
System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
"""
...
def values() -> typing.MutableSequence['LhcSector']: ...
class __module_protocol__(Protocol):
......
This diff is collapsed.
......@@ -17,186 +17,40 @@ import typing
class AccsoftDomainUtil:
"""
public class AccsoftDomainUtil extends java.lang.Object
Utility methods to be used by clients.
"""
_findAcceleratorZone__T = typing.TypeVar('_findAcceleratorZone__T', bound=cern.accsoft.commons.domain.Accelerator) # <T>
@staticmethod
def findAcceleratorZone(class_: typing.Type[_findAcceleratorZone__T], string: str) -> cern.accsoft.commons.domain.zones.AcceleratorZone:
"""
Finds accelerator zone.
Parameters:
acceleratorEnumClass (java.lang.Class<T> acceleratorEnumClass): accelerator enumeration class
acceleratorZoneName (java.lang.String): accelerator zone name
Returns:
:class:`~cern.accsoft.commons.domain.zones.AcceleratorZone`
Raises:
java.lang.IllegalArgumentException: if accelerator or zone doesn't exist
"""
...
def findAcceleratorZone(class_: typing.Type[_findAcceleratorZone__T], string: str) -> cern.accsoft.commons.domain.zones.AcceleratorZone: ...
@staticmethod
def findBeam(accelerator: cern.accsoft.commons.domain.Accelerator, string: str) -> cern.accsoft.commons.domain.beams.Beam:
"""
Finds accelerator beam.
Parameters:
accelerator (:class:`~cern.accsoft.commons.domain.Accelerator`): accelerator
beamName (java.lang.String): beam name
Returns:
:class:`~cern.accsoft.commons.domain.beams.Beam`
Raises:
java.lang.IllegalArgumentException: if beam doesn't exist
"""
...
def findBeam(accelerator: cern.accsoft.commons.domain.Accelerator, string: str) -> cern.accsoft.commons.domain.beams.Beam: ...
@staticmethod
def findBeamDestinationEndPoint(beamDestination: cern.accsoft.commons.domain.beamdestinations.BeamDestination, string: str) -> cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint:
"""
Finds beam destination end point by name.
Parameters:
beamDestination (:class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestination`): endPointName (java.lang.String):
Returns:
:class:`~cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint`
Raises:
java.lang.IllegalArgumentException: if end point doesn't exist
"""
...
def findBeamDestinationEndPoint(beamDestination: cern.accsoft.commons.domain.beamdestinations.BeamDestination, string: str) -> cern.accsoft.commons.domain.beamdestinations.BeamDestinationEndPoint: ...
_findNamedEnumValue__T = typing.TypeVar('_findNamedEnumValue__T', bound=cern.accsoft.commons.util.Named) # <T>
@staticmethod
def findNamedEnumValue(class_: typing.Type[_findNamedEnumValue__T], string: str) -> _findNamedEnumValue__T:
"""
Finds beam mode by name.
Parameters:
enumClass (java.lang.Class<T> enumClass): beam mode enumeration class
enumValueName (java.lang.String): beam mode name
Returns:
beam mode
Raises:
java.lang.IllegalArgumentException: if beam mode doesn't exist
"""
...
def findNamedEnumValue(class_: typing.Type[_findNamedEnumValue__T], string: str) -> _findNamedEnumValue__T: ...
_findParticleTransfer__T = typing.TypeVar('_findParticleTransfer__T', bound=cern.accsoft.commons.domain.Accelerator) # <T>
@staticmethod
def findParticleTransfer(class_: typing.Type[_findParticleTransfer__T], string: str) -> cern.accsoft.commons.domain.particletransfers.ParticleTransfer:
"""
Finds particle transfer.
Parameters:
acceleratorEnumClass (java.lang.Class<T> acceleratorEnumClass): accelerator enumeration class
particleTransferName (java.lang.String): particle transfer name
Returns:
:class:`~cern.accsoft.commons.domain.particletransfers.ParticleTransfer`
Raises:
java.lang.IllegalArgumentException: if accelerator or particle transfer doesn't exist
"""
...
def findParticleTransfer(class_: typing.Type[_findParticleTransfer__T], string: str) -> cern.accsoft.commons.domain.particletransfers.ParticleTransfer: ...
_CodeEntityConverter__E = typing.TypeVar('_CodeEntityConverter__E') # <E>
class CodeEntityConverter(typing.Generic[_CodeEntityConverter__E]):
"""
public class CodeEntityConverter<E> extends java.lang.Object
Generic class to convert between codes and corresponding entities.
"""
@typing.overload
def fromCode(self, int: int) -> _CodeEntityConverter__E:
"""
Parameters:
code (long): code
Returns:
corresponding entity
Parameters:
code (int): code
Returns:
corresponding entity
"""
...
def fromCode(self, int: int) -> _CodeEntityConverter__E: ...
@typing.overload
def fromCode(self, long: int) -> _CodeEntityConverter__E: ...
def getFromCodeMap(self) -> java.util.Map[int, _CodeEntityConverter__E]: ...
def getToCodeMap(self) -> java.util.Map[_CodeEntityConverter__E, int]: ...
def toCode(self, e: _CodeEntityConverter__E) -> int:
"""
Parameters:
entity (:class:`~cern.accsoft.commons.domain.util.CodeEntityConverter`): entity
Returns:
corresponding code
"""
...
def toCode(self, e: _CodeEntityConverter__E) -> int: ...
class EnumEmulationUtils:
"""
@Deprecated public class EnumEmulationUtils extends java.lang.Object
Deprecated.
use cern.accsoft.commons.util.enums.EnumEmulationUtil from accsoft-commons-domain
"""
_getEnumConstants__T = typing.TypeVar('_getEnumConstants__T') # <T>
@staticmethod
def getEnumConstants(class_: typing.Type[_getEnumConstants__T]) -> typing.MutableSequence[_getEnumConstants__T]:
"""
Deprecated.
Enum like class as supposed to have a values method. It is invoked in order to fetch the values list
Parameters:
enumClass (java.lang.Class<T> enumClass): the enum-like class
Returns:
the array of available values in this class
"""
...
def getEnumConstants(class_: typing.Type[_getEnumConstants__T]) -> typing.MutableSequence[_getEnumConstants__T]: ...
_getEnumConstantsMap__T = typing.TypeVar('_getEnumConstantsMap__T') # <T>
@staticmethod
def getEnumConstantsMap(class_: typing.Type[_getEnumConstantsMap__T]) -> java.util.Map[str, _getEnumConstantsMap__T]:
"""
Deprecated.
"""
...
def getEnumConstantsMap(class_: typing.Type[_getEnumConstantsMap__T]) -> java.util.Map[str, _getEnumConstantsMap__T]: ...
_valueOf__T = typing.TypeVar('_valueOf__T') # <T>
@staticmethod
def valueOf(string: str, class_: typing.Type[_valueOf__T]) -> _valueOf__T:
"""
Deprecated.
"""
...
def valueOf(string: str, class_: typing.Type[_valueOf__T]) -> _valueOf__T: ...
class __module_protocol__(Protocol):
......
......@@ -13,46 +13,13 @@ import typing
class LhcAcceleratorModeConverter(cern.accsoft.commons.domain.util.CodeEntityConverter[cern.accsoft.commons.domain.modes.LhcAcceleratorMode]):
"""
public class LhcAcceleratorModeConverter extends :class:`~cern.accsoft.commons.domain.util.CodeEntityConverter`<:class:`~cern.accsoft.commons.domain.modes.LhcAcceleratorMode`>
Converter between :class:`~cern.accsoft.commons.domain.modes.LhcAcceleratorMode` and corresponding timing codes.
"""
LHC_ACCELERATOR_MODE_CONVERTER: typing.ClassVar['LhcAcceleratorModeConverter'] = ...
"""
public static final :class:`~cern.accsoft.commons.timing.LhcAcceleratorModeConverter` LHC_ACCELERATOR_MODE_CONVERTER
LHC Accelerator Mode converter singleton
"""
class LhcBeamModeConverter(cern.accsoft.commons.domain.util.CodeEntityConverter[cern.accsoft.commons.domain.modes.LhcBeamMode]):
"""
public class LhcBeamModeConverter extends :class:`~cern.accsoft.commons.domain.util.CodeEntityConverter`<:class:`~cern.accsoft.commons.domain.modes.LhcBeamMode`>
Converter between :class:`~cern.accsoft.commons.domain.modes.LhcBeamMode` and corresponding timing codes.
"""
LHC_BEAM_MODE_CONVERTER: typing.ClassVar['LhcBeamModeConverter'] = ...
"""
public static final :class:`~cern.accsoft.commons.timing.LhcBeamModeConverter` LHC_BEAM_MODE_CONVERTER
LHC Beam Mode converter singleton
"""
class LhcParticleTypeConverter(cern.accsoft.commons.domain.util.CodeEntityConverter[cern.accsoft.commons.domain.ParticleType]):
"""
public class LhcParticleTypeConverter extends :class:`~cern.accsoft.commons.domain.util.CodeEntityConverter`<:class:`~cern.accsoft.commons.domain.ParticleType`>
Converter between :class:`~cern.accsoft.commons.domain.ParticleType` and corresponding timing codes.
"""
LHC_PARTICLE_TYPE_CONVERTER: typing.ClassVar['LhcParticleTypeConverter'] = ...
"""
public static final :class:`~cern.accsoft.commons.timing.LhcParticleTypeConverter` LHC_PARTICLE_TYPE_CONVERTER
LHC Particle Type converter singleton
"""
class __module_protocol__(Protocol):
......
......@@ -27,7 +27,7 @@ class ResourceSynchronizationHelper(typing.Generic[_ResourceSynchronizationHelpe
@typing.overload
def __init__(self, comparator: typing.Union[java.util.Comparator[_ResourceSynchronizationHelper__T], typing.Callable[[_ResourceSynchronizationHelper__T, _ResourceSynchronizationHelper__T], int]]): ...
_executeCommand__R = typing.TypeVar('_executeCommand__R') # <R>
def executeCommand(self, collection: typing.Union[java.util.Collection[_ResourceSynchronizationHelper__T], typing.Sequence[_ResourceSynchronizationHelper__T]], command: 'ResourceSynchronizationHelper.Command'[_executeCommand__R]) -> _executeCommand__R: ...
def executeCommand(self, collection: typing.Union[java.util.Collection[_ResourceSynchronizationHelper__T], typing.Sequence[_ResourceSynchronizationHelper__T], typing.Set[_ResourceSynchronizationHelper__T]], command: 'ResourceSynchronizationHelper.Command'[_executeCommand__R]) -> _executeCommand__R: ...
class Command(typing.Generic[_ResourceSynchronizationHelper__Command__R]):
def execute(self) -> _ResourceSynchronizationHelper__Command__R: ...
......
......@@ -24,8 +24,8 @@ class EventListenerSupport(typing.Generic[_EventListenerSupport__T]):
@typing.overload
def __init__(self, class_: typing.Type[_EventListenerSupport__T], methodInvoker: cern.accsoft.commons.util.reflect.MethodInvoker): ...
def add(self, t: _EventListenerSupport__T) -> None: ...
def addAll(self, collection: typing.Union[java.util.Collection[_EventListenerSupport__T], typing.Sequence[_EventListenerSupport__T]]) -> None: ...
def addAllWeakly(self, collection: typing.Union[java.util.Collection[_EventListenerSupport__T], typing.Sequence[_EventListenerSupport__T]]) -> None: ...
def addAll(self, collection: typing.Union[java.util.Collection[_EventListenerSupport__T], typing.Sequence[_EventListenerSupport__T], typing.Set[_EventListenerSupport__T]]) -> None: ...
def addAllWeakly(self, collection: typing.Union[java.util.Collection[_EventListenerSupport__T], typing.Sequence[_EventListenerSupport__T], typing.Set[_EventListenerSupport__T]]) -> None: ...
def addWeakly(self, t: _EventListenerSupport__T) -> None: ...
def clear(self) -> None: ...
def getDispatcher(self) -> _EventListenerSupport__T: ...
......@@ -35,7 +35,7 @@ class EventListenerSupport(typing.Generic[_EventListenerSupport__T]):
@staticmethod
def newInstance(class_: typing.Type[_newInstance__T]) -> 'EventListenerSupport'[_newInstance__T]: ...
def remove(self, t: _EventListenerSupport__T) -> None: ...
def removeAll(self, collection: typing.Union[java.util.Collection[_EventListenerSupport__T], typing.Sequence[_EventListenerSupport__T]]) -> None: ...
def removeAll(self, collection: typing.Union[java.util.Collection[_EventListenerSupport__T], typing.Sequence[_EventListenerSupport__T], typing.Set[_EventListenerSupport__T]]) -> None: ...
class EventListeners:
def __init__(self): ...
......
......@@ -48,15 +48,15 @@ class ExecutionValidator:
_validateInvokeAll_0__T = typing.TypeVar('_validateInvokeAll_0__T') # <T>
_validateInvokeAll_1__T = typing.TypeVar('_validateInvokeAll_1__T') # <T>
@typing.overload
def validateInvokeAll(self, collection: typing.Union[java.util.Collection[java.util.concurrent.Callable[_validateInvokeAll_0__T]], typing.Sequence[java.util.concurrent.Callable[_validateInvokeAll_0__T]]]) -> None: ...
def validateInvokeAll(self, collection: typing.Union[java.util.Collection[java.util.concurrent.Callable[_validateInvokeAll_0__T]], typing.Sequence[java.util.concurrent.Callable[_validateInvokeAll_0__T]], typing.Set[java.util.concurrent.Callable[_validateInvokeAll_0__T]]]) -> None: ...
@typing.overload
def validateInvokeAll(self, collection: typing.Union[java.util.Collection[java.util.concurrent.Callable[_validateInvokeAll_1__T]], typing.Sequence[java.util.concurrent.Callable[_validateInvokeAll_1__T]]], long: int, timeUnit: java.util.concurrent.TimeUnit) -> None: ...
def validateInvokeAll(self, collection: typing.Union[java.util.Collection[java.util.concurrent.Callable[_validateInvokeAll_1__T]], typing.Sequence[java.util.concurrent.Callable[_validateInvokeAll_1__T]], typing.Set[java.util.concurrent.Callable[_validateInvokeAll_1__T]]], long: int, timeUnit: java.util.concurrent.TimeUnit) -> None: ...
_validateInvokeAny_0__T = typing.TypeVar('_validateInvokeAny_0__T') # <T>
_validateInvokeAny_1__T = typing.TypeVar('_validateInvokeAny_1__T') # <T>
@typing.overload
def validateInvokeAny(self, collection: typing.Union[java.util.Collection[java.util.concurrent.Callable[_validateInvokeAny_0__T]], typing.Sequence[java.util.concurrent.Callable[_validateInvokeAny_0__T]]]) -> None: ...
def validateInvokeAny(self, collection: typing.Union[java.util.Collection[java.util.concurrent.Callable[_validateInvokeAny_0__T]], typing.Sequence[java.util.concurrent.Callable[_validateInvokeAny_0__T]], typing.Set[java.util.concurrent.Callable[_validateInvokeAny_0__T]]]) -> None: ...
@typing.overload
def validateInvokeAny(self, collection: typing.Union[java.util.Collection[java.util.concurrent.Callable[_validateInvokeAny_1__T]], typing.Sequence[java.util.concurrent.Callable[_validateInvokeAny_1__T]]], long: int, timeUnit: java.util.concurrent.TimeUnit) -> None: ...
def validateInvokeAny(self, collection: typing.Union[java.util.Collection[java.util.concurrent.Callable[_validateInvokeAny_1__T]], typing.Sequence[java.util.concurrent.Callable[_validateInvokeAny_1__T]], typing.Set[java.util.concurrent.Callable[_validateInvokeAny_1__T]]], long: int, timeUnit: java.util.concurrent.TimeUnit) -> None: ...
_validateSchedule_1__V = typing.TypeVar('_validateSchedule_1__V') # <V>
@typing.overload
def validateSchedule(self, runnable: typing.Union[java.lang.Runnable, typing.Callable], long: int, timeUnit: java.util.concurrent.TimeUnit) -> None: ...
......
......@@ -16,7 +16,7 @@ _Trigger__E = typing.TypeVar('_Trigger__E', bound='TriggerEvent') # <E>
class Trigger(typing.Generic[_Trigger__E]):
def addTriggerListener(self, triggerListener: typing.Union['TriggerListener'[_Trigger__E], typing.Callable[[_Trigger__E], None]]) -> None: ...
def removeTriggerListener(self, triggerListener: typing.Union['TriggerListener'[_Trigger__E], typing.Callable[[_Trigger__E], None]]) -> None: ...
def setTriggerListeners(self, collection: typing.Union[java.util.Collection['TriggerListener'[_Trigger__E]], typing.Sequence['TriggerListener'[_Trigger__E]]]) -> None: ...
def setTriggerListeners(self, collection: typing.Union[java.util.Collection['TriggerListener'[_Trigger__E]], typing.Sequence['TriggerListener'[_Trigger__E]], typing.Set['TriggerListener'[_Trigger__E]]]) -> None: ...
class TriggerEvent:
def getTimestamp(self) -> java.time.Instant: ...
......
......@@ -20,7 +20,7 @@ class AbstractTrigger(cern.accsoft.commons.util.trigger.Trigger[_AbstractTrigger
def addTriggerListener(self, triggerListener: typing.Union[cern.accsoft.commons.util.trigger.TriggerListener[_AbstractTrigger__E], typing.Callable[[_AbstractTrigger__E], None]]) -> None: ...
def removeTriggerListener(self, triggerListener: typing.Union[cern.accsoft.commons.util.trigger.TriggerListener[_AbstractTrigger__E], typing.Callable[[_AbstractTrigger__E], None]]) -> None: ...
def setDispatchExecutor(self, executor: java.util.concurrent.Executor) -> None: ...
def setTriggerListeners(self, collection: typing.Union[java.util.Collection[cern.accsoft.commons.util.trigger.TriggerListener[_AbstractTrigger__E]], typing.Sequence[cern.accsoft.commons.util.trigger.TriggerListener[_AbstractTrigger__E]]]) -> None: ...
def setTriggerListeners(self, collection: typing.Union[java.util.Collection[cern.accsoft.commons.util.trigger.TriggerListener[_AbstractTrigger__E]], typing.Sequence[cern.accsoft.commons.util.trigger.TriggerListener[_AbstractTrigger__E]], typing.Set[cern.accsoft.commons.util.trigger.TriggerListener[_AbstractTrigger__E]]]) -> None: ...
class TriggerEventImpl(cern.accsoft.commons.util.trigger.TriggerEvent):
def __init__(self, instant: typing.Union[java.time.Instant, datetime.datetime]): ...
......
......@@ -17,149 +17,38 @@ import typing
class AbstractCacheConfig(org.springframework.cache.annotation.CachingConfigurerSupport):
"""
@Configuration public abstract class AbstractCacheConfig extends org.springframework.cache.annotation.CachingConfigurerSupport
"""
def __init__(self): ...
def keyGenerator(self) -> org.springframework.cache.interceptor.KeyGenerator: ...
class CacheKeyGenerator(org.springframework.cache.interceptor.KeyGenerator):
"""
public class CacheKeyGenerator extends java.lang.Object implements org.springframework.cache.interceptor.KeyGenerator
Client side key generator which uses toString methods of method's parameters to compose key.
"""
def __init__(self): ...
def generate(self, object: typing.Any, method: java.lang.reflect.Method, *object2: typing.Any) -> typing.Any:
"""
Specified by:
:code:`generate` in interface :code:`org.springframework.cache.interceptor.KeyGenerator`
"""
...
def generate(self, object: typing.Any, method: java.lang.reflect.Method, *object2: typing.Any) -> typing.Any: ...
class ClientCache(org.springframework.cache.Cache, org.springframework.beans.factory.BeanNameAware):
"""
public class ClientCache extends java.lang.Object implements org.springframework.cache.Cache, org.springframework.beans.factory.BeanNameAware
Simple cache based on ConcurrentHashMap with possibility to set time to live. Used in 3tier client to avoid depending on
fat jar with full feature cache.
"""
def clear(self) -> None:
"""
Specified by:
:code:`clear` in interface :code:`org.springframework.cache.Cache`
"""
...
def destroy(self) -> None:
"""
This method is called to stop the scheduler, it can be registered in Spring as a bean destroyMethod e.g.
Bean(destroyMethod = "destroy")
"""
...
def evict(self, object: typing.Any) -> None:
"""
Specified by:
:code:`evict` in interface :code:`org.springframework.cache.Cache`
"""
...
def clear(self) -> None: ...
def destroy(self) -> None: ...
def evict(self, object: typing.Any) -> None: ...
_get_0__T = typing.TypeVar('_get_0__T') # <T>
_get_1__T = typing.TypeVar('_get_1__T') # <T>
@typing.overload
def get(self, object: typing.Any, class_: typing.Type[_get_0__T]) -> _get_0__T:
"""
Specified by:
:code:`get` in interface :code:`org.springframework.cache.Cache`
Specified by:
:code:`get` in interface :code:`org.springframework.cache.Cache`
"""
...
def get(self, object: typing.Any, class_: typing.Type[_get_0__T]) -> _get_0__T: ...
@typing.overload
def get(self, object: typing.Any, callable: typing.Union[java.util.concurrent.Callable[_get_1__T], typing.Callable[[], _get_1__T]]) -> _get_1__T: ...
@typing.overload
def get(self, object: typing.Any) -> org.springframework.cache.Cache.ValueWrapper:
"""
Specified by:
:code:`get` in interface :code:`org.springframework.cache.Cache`
"""
...
def get(self, object: typing.Any) -> org.springframework.cache.Cache.ValueWrapper: ...
@staticmethod
def getInstance() -> 'ClientCache': ...
def getName(self) -> str:
"""
Specified by:
:code:`getName` in interface :code:`org.springframework.cache.Cache`
"""
...
def getNativeCache(self) -> typing.Any:
"""
Specified by:
:code:`getNativeCache` in interface :code:`org.springframework.cache.Cache`
"""
...
def put(self, object: typing.Any, object2: typing.Any) -> None:
"""
Specified by:
:code:`put` in interface :code:`org.springframework.cache.Cache`
"""
...
def putIfAbsent(self, object: typing.Any, object2: typing.Any) -> org.springframework.cache.Cache.ValueWrapper:
"""
Specified by:
:code:`putIfAbsent` in interface :code:`org.springframework.cache.Cache`
"""
...
def setBeanName(self, string: str) -> None:
"""
Specified by:
:code:`setBeanName` in interface :code:`org.springframework.beans.factory.BeanNameAware`
"""
...
def getName(self) -> str: ...
def getNativeCache(self) -> typing.Any: ...
def put(self, object: typing.Any, object2: typing.Any) -> None: ...
def putIfAbsent(self, object: typing.Any, object2: typing.Any) -> org.springframework.cache.Cache.ValueWrapper: ...
def setBeanName(self, string: str) -> None: ...
class ClientCacheManagerConfig:
"""
@Configuration public class ClientCacheManagerConfig extends java.lang.Object
"""
def __init__(self): ...
def clientCacheManager(self) -> org.springframework.cache.support.SimpleCacheManager: ...
class ClientCacheConfig(AbstractCacheConfig):
"""
@EnableCaching(order=1) @Configuration @Import(:class:`~cern.lsa.client.common.cache.ClientCacheManagerConfig`) public class ClientCacheConfig extends :class:`~cern.lsa.client.common.cache.AbstractCacheConfig`
This configuration is for 3-tier client applications only, which only use the client caches.
"""
def __init__(self): ...
def cacheManager(self) -> org.springframework.cache.CacheManager: ...
......
......@@ -12,106 +12,17 @@ import typing
class LsaSelector(cern.japc.core.Selector):
"""
public interface LsaSelector extends cern.japc.core.Selector
Extension of the JAPC selector that contains, in addition to the usual JAPC information, attributes for the LSA
:code:`TrimRequest`.
Using this selector outside of LSA and/or for other operations than set is meaningless
"""
def getSettingPart(self) -> cern.lsa.domain.settings.SettingPartEnum:
"""
Also see:
:code:`TrimRequest.getSettingPart()`
"""
...
def getTrimDescription(self) -> str:
"""
Also see:
:code:`TrimRequest.getDescription()`
"""
...
def getSettingPart(self) -> cern.lsa.domain.settings.SettingPartEnum: ...
def getTrimDescription(self) -> str: ...
class LsaSelectorBuilder:
"""
public class LsaSelectorBuilder extends java.lang.Object
Builder for instances of the :code:`Selector` interface. The typical usage of the builder is following:
.. code-block: java
LsaSelectorBuilder builder = LsaSelectorBuilder.newInstance();
builder.setContext(myCycle);
builder.setDescription("A test trim"); // Trim comment
Selector aSelector = builder.build();
// Use JAPC...
parameter.set(aSelector, 10.0);
**Synchronization**
This class is not synchronized. It is recommended to create separate instance for each thread. If multiple threads
access one instance of this class concurrently, it must be synchronized externally.
"""
def build(self) -> LsaSelector:
"""
Builds a new instance of :code:`Selector` containing all the options set on the builder
Returns:
an instance of :code:`Selector`
"""
...
def build(self) -> LsaSelector: ...
@staticmethod
def newInstance() -> 'LsaSelectorBuilder':
"""
Creates and returns a new instance of the :code:`LsaSelectorBuilder`
Returns:
a :code:`LsaSelectorBuilder` instance
"""
...
def setLsaContext(self, drivableContext: cern.lsa.domain.settings.DrivableContext) -> 'LsaSelectorBuilder':
"""
Sets the LSA Context.
"""
...
def setSelector(self, selector: cern.japc.core.Selector) -> 'LsaSelectorBuilder':
"""
Sets the default JAPC selector.
"""
...
def setSettingPart(self, settingPartEnum: cern.lsa.domain.settings.SettingPartEnum) -> 'LsaSelectorBuilder':
"""
Also see:
:code:`TrimRequest.getSettingPart()`
"""
...
def setTrimDescription(self, string: str) -> 'LsaSelectorBuilder':
"""
Also see:
:code:`TrimRequest.getDescription()`
"""
...
def newInstance() -> 'LsaSelectorBuilder': ...
def setLsaContext(self, drivableContext: cern.lsa.domain.settings.DrivableContext) -> 'LsaSelectorBuilder': ...
def setSelector(self, selector: cern.japc.core.Selector) -> 'LsaSelectorBuilder': ...
def setSettingPart(self, settingPartEnum: cern.lsa.domain.settings.SettingPartEnum) -> 'LsaSelectorBuilder': ...
def setTrimDescription(self, string: str) -> 'LsaSelectorBuilder': ...
class __module_protocol__(Protocol):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment