Skip to main content

Ens.Deployment.Token

persistent class Ens.Deployment.Token extends %Library.Persistent, %XML.Adaptor

SQL Table Name: Ens_Deployment.Token

Before a deployment of changes to a production can be made the process must be able to open for Exclusive use this object where the id is "DeployToken". This is to limit one deployment per namespace.

Property Inventory

Parameters

parameter DEFAULTCONCURRENCY = 4;
Inherited description: DEFAULTCONCURRENCY is the default value for the concurrency formal argument defined for %Open, %OpenId, %Delete and %DeleteId methods. It is not the default value of the %Concurrency property of persistent classes. If the value of the actual concurrency argument passed to any of the above methods is -1 then the formal argument value will be set to the value of the DEFAULTCONCURRENCY parameter value defined for the class.

Properties

property EndTime as Ens.DataType.UTC;
Property methods: EndTimeDisplayToLogical(), EndTimeGet(), EndTimeGetStored(), EndTimeIsValid(), EndTimeLogicalToDisplay(), EndTimeLogicalToOdbc(), EndTimeNormalize(), EndTimeOdbcToLogical(), EndTimeSet(), EndTimeStorageToLogical(), EndTimetimeCmp(), EndTimetimeDiff(), EndTimetimeLocal(), EndTimetimeLocaltoUTC(), EndTimetimeUTC(), EndTimetimeUTCH(), EndTimetimeUTCHtoUTC(), EndTimetimeUTCtoLocal(), EndTimetimeUTCtoUTCH()
property ForcedClearUser as %String (MAXLEN = 128);
Property methods: ForcedClearUserDisplayToLogical(), ForcedClearUserGet(), ForcedClearUserGetStored(), ForcedClearUserIsValid(), ForcedClearUserLogicalToDisplay(), ForcedClearUserLogicalToOdbc(), ForcedClearUserNormalize(), ForcedClearUserSet()
property InProgress as %Boolean [ InitialExpression = 0 ];
Property methods: InProgressDisplayToLogical(), InProgressGet(), InProgressGetStored(), InProgressIsValid(), InProgressLogicalToDisplay(), InProgressLogicalToXSD(), InProgressNormalize(), InProgressSet(), InProgressXSDToLogical()
property InvocationId as %String;
Property methods: InvocationIdDisplayToLogical(), InvocationIdGet(), InvocationIdGetStored(), InvocationIdIsValid(), InvocationIdLogicalToDisplay(), InvocationIdLogicalToOdbc(), InvocationIdNormalize(), InvocationIdSet()
property IsARollback as %String [ InitialExpression = 0 ];
Property methods: IsARollbackDisplayToLogical(), IsARollbackGet(), IsARollbackGetStored(), IsARollbackIsValid(), IsARollbackLogicalToDisplay(), IsARollbackLogicalToOdbc(), IsARollbackNormalize(), IsARollbackSet()
property Job as %String (MAXLEN = 128);
Property methods: JobDisplayToLogical(), JobGet(), JobGetStored(), JobIsValid(), JobLogicalToDisplay(), JobLogicalToOdbc(), JobNormalize(), JobSet()
property OpenedTime as Ens.DataType.UTC;
Property methods: OpenedTimeDisplayToLogical(), OpenedTimeGet(), OpenedTimeGetStored(), OpenedTimeIsValid(), OpenedTimeLogicalToDisplay(), OpenedTimeLogicalToOdbc(), OpenedTimeNormalize(), OpenedTimeOdbcToLogical(), OpenedTimeSet(), OpenedTimeStorageToLogical(), OpenedTimetimeCmp(), OpenedTimetimeDiff(), OpenedTimetimeLocal(), OpenedTimetimeLocaltoUTC(), OpenedTimetimeUTC(), OpenedTimetimeUTCH(), OpenedTimetimeUTCHtoUTC(), OpenedTimetimeUTCtoLocal(), OpenedTimetimeUTCtoUTCH()
property SourceInstance as %String (MAXLEN = 128);
Property methods: SourceInstanceDisplayToLogical(), SourceInstanceGet(), SourceInstanceGetStored(), SourceInstanceIsValid(), SourceInstanceLogicalToDisplay(), SourceInstanceLogicalToOdbc(), SourceInstanceNormalize(), SourceInstanceSet()
property SourceMachine as %String (MAXLEN = 128);
Property methods: SourceMachineDisplayToLogical(), SourceMachineGet(), SourceMachineGetStored(), SourceMachineIsValid(), SourceMachineLogicalToDisplay(), SourceMachineLogicalToOdbc(), SourceMachineNormalize(), SourceMachineSet()
property SourceNamespace as %String (MAXLEN = 128);
Property methods: SourceNamespaceDisplayToLogical(), SourceNamespaceGet(), SourceNamespaceGetStored(), SourceNamespaceIsValid(), SourceNamespaceLogicalToDisplay(), SourceNamespaceLogicalToOdbc(), SourceNamespaceNormalize(), SourceNamespaceSet()
property SourceProduction as %String (MAXLEN = 128);
Property methods: SourceProductionDisplayToLogical(), SourceProductionGet(), SourceProductionGetStored(), SourceProductionIsValid(), SourceProductionLogicalToDisplay(), SourceProductionLogicalToOdbc(), SourceProductionNormalize(), SourceProductionSet()
property StartTime as Ens.DataType.UTC;
Property methods: StartTimeDisplayToLogical(), StartTimeGet(), StartTimeGetStored(), StartTimeIsValid(), StartTimeLogicalToDisplay(), StartTimeLogicalToOdbc(), StartTimeNormalize(), StartTimeOdbcToLogical(), StartTimeSet(), StartTimeStorageToLogical(), StartTimetimeCmp(), StartTimetimeDiff(), StartTimetimeLocal(), StartTimetimeLocaltoUTC(), StartTimetimeUTC(), StartTimetimeUTCH(), StartTimetimeUTCHtoUTC(), StartTimetimeUTCtoLocal(), StartTimetimeUTCtoUTCH()
property SystemStart as %Integer;
Property methods: SystemStartDisplayToLogical(), SystemStartGet(), SystemStartGetStored(), SystemStartIsValid(), SystemStartLogicalToDisplay(), SystemStartNormalize(), SystemStartSet(), SystemStartXSDToLogical()
property TargetInstance as %String (MAXLEN = 128);
Property methods: TargetInstanceDisplayToLogical(), TargetInstanceGet(), TargetInstanceGetStored(), TargetInstanceIsValid(), TargetInstanceLogicalToDisplay(), TargetInstanceLogicalToOdbc(), TargetInstanceNormalize(), TargetInstanceSet()
property TargetMachine as %String (MAXLEN = 128);
Property methods: TargetMachineDisplayToLogical(), TargetMachineGet(), TargetMachineGetStored(), TargetMachineIsValid(), TargetMachineLogicalToDisplay(), TargetMachineLogicalToOdbc(), TargetMachineNormalize(), TargetMachineSet()
property TargetNamespace as %String (MAXLEN = 128);
Property methods: TargetNamespaceDisplayToLogical(), TargetNamespaceGet(), TargetNamespaceGetStored(), TargetNamespaceIsValid(), TargetNamespaceLogicalToDisplay(), TargetNamespaceLogicalToOdbc(), TargetNamespaceNormalize(), TargetNamespaceSet()
property TargetProduction as %String (MAXLEN = 128);
Property methods: TargetProductionDisplayToLogical(), TargetProductionGet(), TargetProductionGetStored(), TargetProductionIsValid(), TargetProductionLogicalToDisplay(), TargetProductionLogicalToOdbc(), TargetProductionNormalize(), TargetProductionSet()
property Token as %String (VALUELIST = ",DeployToken") [ InitialExpression = "DeployToken" , Required ];
This is used to ensure that only one token object can exist.
Property methods: TokenDisplayToLogical(), TokenGet(), TokenGetStored(), TokenIsValid(), TokenLogicalToDisplay(), TokenLogicalToOdbc(), TokenNormalize(), TokenSet()
property Username as %String (MAXLEN = 128);
Property methods: UsernameDisplayToLogical(), UsernameGet(), UsernameGetStored(), UsernameIsValid(), UsernameLogicalToDisplay(), UsernameLogicalToOdbc(), UsernameNormalize(), UsernameSet()

Indexes

index (TargetID on Token) [IdKey, Type = key];
Index methods: TargetIDCheck(), TargetIDDelete(), TargetIDExists(), TargetIDOpen(), TargetIDSQLCheckUnique(), TargetIDSQLExists(), TargetIDSQLFindPKeyByConstraint(), TargetIDSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (Ens.Deployment.Token)

^Ens.Deployment.TokenD(ID)
=
%%CLASSNAME
InProgress
Username
ForcedClearUser
Job
OpenedTime
StartTime
EndTime
SystemStart
SourceMachine
TargetMachine
SourceInstance
TargetInstance
SourceNamespace
TargetNamespace
SourceProduction
TargetProduction
InvocationId
IsARollback
FeedbackOpens in a new tab