Class CopyToolVerifier

  • Direct Known Subclasses:
    OA2CopyToolVerifier

    public class CopyToolVerifier
    extends Object
    A tool to verify that after a copy, the store contents are identical.

    Created by Jeff Gaynor
    on 11/15/13 at 12:33 PM

    • Field Detail

    • Constructor Detail

      • CopyToolVerifier

        public CopyToolVerifier()
    • Method Detail

      • getCopyTool

        public CopyTool getCopyTool()
        Override this if you need a different verifier instance. This should just create one.
        Returns:
      • main

        public static void main​(String[] args)
      • printHelp

        public void printHelp()
      • verifyStores

        public boolean verifyStores​(org.oa4mp.server.api.ServiceEnvironmentImpl sEnv,
                                    org.oa4mp.server.api.ServiceEnvironmentImpl tEnv)
        Run through all the stores in these environments. Call super when overriding this method.
        Parameters:
        sEnv -
        tEnv -
        Returns:
      • verifyStore

        public boolean verifyStore​(String storeName,
                                   edu.uiuc.ncsa.security.core.Store<? extends edu.uiuc.ncsa.security.core.Identifiable> source,
                                   edu.uiuc.ncsa.security.core.Store<? extends edu.uiuc.ncsa.security.core.Identifiable> target)
      • say

        public void say​(String x)
      • saynoCR

        public void saynoCR​(String x)