Class LogbookConfiguration

    • Constructor Detail

      • LogbookConfiguration

        public LogbookConfiguration​(java.util.List<MongoDbNode> mongoDbNodes,
                                    java.lang.String dbName,
                                    java.lang.String clusterName,
                                    java.util.List<ElasticsearchNode> elasticsearchNodes)
        LogbookConfiguration constructor
        Parameters:
        mongoDbNodes - database server IP addresses and ports
        dbName - database name
        clusterName - eslasticsearch cluster name
        elasticsearchNodes - elasticsearch nodes
      • LogbookConfiguration

        public LogbookConfiguration​(java.util.List<MongoDbNode> mongoDbNodes,
                                    java.lang.String dbName,
                                    java.lang.String clusterName,
                                    java.util.List<ElasticsearchNode> elasticsearchNodes,
                                    boolean dbAuthentication,
                                    java.lang.String dbUserName,
                                    java.lang.String dbPassword)
        LogbookConfiguration constructor with db authentication
        Parameters:
        mongoDbNodes - database server IP addresses and ports
        dbName - database name
        clusterName - eslasticsearch cluster name
        elasticsearchNodes - elasticsearch nodes
        dbAuthentication - db authencation
        dbUserName - db authencation user
        dbPassword - db authencation password
      • LogbookConfiguration

        public LogbookConfiguration()
        LogbookConfiguration empty constructor for YAMLFactory
    • Method Detail

      • getP12LogbookPassword

        public java.lang.String getP12LogbookPassword()
        Returns:
        password of p12
      • setP12LogbookPassword

        public void setP12LogbookPassword​(java.lang.String p12LogbookPassword)
        Parameters:
        p12LogbookPassword - file to set
      • getP12LogbookFile

        public java.lang.String getP12LogbookFile()
        Returns:
        p12 logbook file
      • setP12LogbookFile

        public void setP12LogbookFile​(java.lang.String p12LogbookFile)
        Parameters:
        p12LogbookFile - file to set
      • getWorkspaceUrl

        public java.lang.String getWorkspaceUrl()
        Returns:
        url workspace
      • setWorkspaceUrl

        public void setWorkspaceUrl​(java.lang.String workspaceUrl)
        Parameters:
        workspaceUrl - to set
      • getProcessingUrl

        public java.lang.String getProcessingUrl()
        Returns:
        url processing
      • setProcessingUrl

        public void setProcessingUrl​(java.lang.String processingUrl)
        Parameters:
        processingUrl - to set
      • getClusterName

        public java.lang.String getClusterName()
        Returns:
        the clusterName
      • setClusterName

        public LogbookConfiguration setClusterName​(java.lang.String clusterName)
        Parameters:
        clusterName - the clusterName to set
        Returns:
        this
      • getElasticsearchNodes

        public java.util.List<ElasticsearchNode> getElasticsearchNodes()
        Returns:
        the elasticsearchNodes
      • setElasticsearchNodes

        public LogbookConfiguration setElasticsearchNodes​(java.util.List<ElasticsearchNode> elasticsearchNodes)
        Parameters:
        elasticsearchNodes - the elasticsearchNodes to set
        Returns:
        LogbookConfiguration
      • getAlertEvents

        public java.util.List<LogbookEvent> getAlertEvents()
        Returns:
        the alertEvents
      • setAlertEvents

        public void setAlertEvents​(java.util.List<LogbookEvent> alertEvents)
        Parameters:
        alertEvents - to set
      • getOpWithLFC

        public java.util.List<java.lang.String> getOpWithLFC()
        Returns:
        opWithLFC
      • setOpWithLFC

        public void setOpWithLFC​(java.util.List<java.lang.String> opWithLFC)
        Parameters:
        opWithLFC - to set
      • getOpLfcEventsToSkip

        public java.util.List<java.lang.String> getOpLfcEventsToSkip()
        Returns:
        opLfcEventsToSkip
      • setOpLfcEventsToSkip

        public void setOpLfcEventsToSkip​(java.util.List<java.lang.String> opLfcEventsToSkip)
        Parameters:
        opLfcEventsToSkip - to set
      • getOpEventsNotInWf

        public java.util.List<java.lang.String> getOpEventsNotInWf()
        Returns:
        opEventsNotInWf
      • setOpEventsNotInWf

        public void setOpEventsNotInWf​(java.util.List<java.lang.String> opEventsNotInWf)
        Parameters:
        opEventsNotInWf - to set
      • getOperationTraceabilityTemporizationDelay

        public java.lang.Integer getOperationTraceabilityTemporizationDelay()
        Gets the temporization delay (in seconds) for recent logbook operation events.
        Returns:
        The temporization delay (in seconds).
      • setOperationTraceabilityTemporizationDelay

        public void setOperationTraceabilityTemporizationDelay​(java.lang.Integer operationTraceabilityTemporizationDelay)
        Sets the temporization delay (in seconds) for recent logbook operation events.
      • getLifecycleTraceabilityTemporizationDelay

        public java.lang.Integer getLifecycleTraceabilityTemporizationDelay()
        Gets temporization delay (in seconds) for recent logbook lifecycle events
      • setLifecycleTraceabilityTemporizationDelay

        public void setLifecycleTraceabilityTemporizationDelay​(java.lang.Integer lifecycleTraceabilityTemporizationDelay)
        Sets temporization delay (in seconds) for recent logbook lifecycle events
      • getLifecycleTraceabilityMaxEntries

        public java.lang.Integer getLifecycleTraceabilityMaxEntries()
        Gets max event count to select during a single logbook lifecycle traceability workflow.
      • setLifecycleTraceabilityMaxEntries

        public void setLifecycleTraceabilityMaxEntries​(java.lang.Integer lifecycleTraceabilityMaxEntries)
        Sets max event count to select during a single logbook lifecycle traceability workflow.
      • getOperationTraceabilityMaxRenewalDelay

        public java.lang.Integer getOperationTraceabilityMaxRenewalDelay()
      • setOperationTraceabilityMaxRenewalDelay

        public void setOperationTraceabilityMaxRenewalDelay​(java.lang.Integer operationTraceabilityMaxRenewalDelay)
      • getOperationTraceabilityMaxRenewalDelayUnit

        public java.time.temporal.ChronoUnit getOperationTraceabilityMaxRenewalDelayUnit()
      • setOperationTraceabilityMaxRenewalDelayUnit

        public LogbookConfiguration setOperationTraceabilityMaxRenewalDelayUnit​(java.time.temporal.ChronoUnit operationTraceabilityMaxRenewalDelayUnit)
      • getLifecycleTraceabilityMaxRenewalDelay

        public java.lang.Integer getLifecycleTraceabilityMaxRenewalDelay()
      • setLifecycleTraceabilityMaxRenewalDelay

        public void setLifecycleTraceabilityMaxRenewalDelay​(java.lang.Integer lifecycleTraceabilityMaxRenewalDelay)
      • getLifecycleTraceabilityMaxRenewalDelayUnit

        public java.time.temporal.ChronoUnit getLifecycleTraceabilityMaxRenewalDelayUnit()
      • setLifecycleTraceabilityMaxRenewalDelayUnit

        public void setLifecycleTraceabilityMaxRenewalDelayUnit​(java.time.temporal.ChronoUnit lifecycleTraceabilityMaxRenewalDelayUnit)
      • getOperationTraceabilityThreadPoolSize

        public java.lang.Integer getOperationTraceabilityThreadPoolSize()
      • setOperationTraceabilityThreadPoolSize

        public void setOperationTraceabilityThreadPoolSize​(int operationTraceabilityThreadPoolSize)
      • getReconstructionMetricsCacheDurationInMinutes

        public int getReconstructionMetricsCacheDurationInMinutes()
      • setReconstructionMetricsCacheDurationInMinutes

        public void setReconstructionMetricsCacheDurationInMinutes​(int reconstructionMetricsCacheDurationInMinutes)