Class SpaceModifyingSnapshotTaskRunner

    • Method Detail

      • getSnapshotUser

        protected String getSnapshotUser()
      • addSnapshotIdToSpaceProps

        protected void addSnapshotIdToSpaceProps​(String spaceId,
                                                 String snapshotId)
      • storeSnapshotProps

        protected void storeSnapshotProps​(String spaceId,
                                          String serializedProps)
        Stores a set of snapshot properties in the given space as a properties file.
        Parameters:
        spaceId - the space in which the properties file should be stored
        serializedProps - properties in serialized format
      • getSnapshotIdFromProperties

        protected String getSnapshotIdFromProperties​(String spaceId)
        Returns snapshot from the snapshot properties file if it exists
        Parameters:
        spaceId -
        Returns:
        snapshot from the snapshot properties file if it exists, otherwise null
      • removeSnapshotIdFromSpaceProps

        protected void removeSnapshotIdFromSpaceProps​(String spaceId)
      • setSnapshotUserPermissions

        protected String setSnapshotUserPermissions​(String spaceId)
      • removeSnapshotUserPermissions

        protected String removeSnapshotUserPermissions​(String spaceId)
      • removeSnapshotProps

        protected void removeSnapshotProps​(String spaceId)
      • snapshotPropsPresentInSpace

        protected boolean snapshotPropsPresentInSpace​(String spaceId)
        Checks if the snapshot props file is in the space.
        Parameters:
        spaceId -
        Returns: