Class ModelTracker

    • Method Detail

      • hasMaintenance

        public boolean hasMaintenance()
      • maintenance

        public void maintenance()
      • doTrack

        protected void doTrack​(String iterationId)
                        throws org.alfresco.httpclient.AuthenticationException,
                               IOException,
                               org.json.JSONException
        Description copied from class: AbstractTracker
        Subclasses must implement behaviour that completes the following steps, in order:
        1. Purge
        2. Reindex
        3. Index
        4. Track repository
        Specified by:
        doTrack in class AbstractTracker
        Parameters:
        iterationId - an identifier which is uniquely associated with a given iteration.
        Throws:
        org.alfresco.httpclient.AuthenticationException
        IOException
        org.json.JSONException
      • trackModels

        public void trackModels​(boolean onlyFirstTime)
                         throws org.alfresco.httpclient.AuthenticationException,
                                IOException,
                                org.json.JSONException
        Throws:
        org.alfresco.httpclient.AuthenticationException
        IOException
        org.json.JSONException
      • ensureFirstModelSync

        public void ensureFirstModelSync()
      • hasModels

        public boolean hasModels()