Class V2ConfigurationImpl

    • Constructor Detail

      • V2ConfigurationImpl

        public V2ConfigurationImpl()
    • Method Detail

      • legacy

        public boolean legacy()
        Description copied from interface: ConfigurationAdapter
        identifies the configuration as legacy or not.
        Returns:
      • getCoreApiBatchUrl

        public java.lang.String getCoreApiBatchUrl()
        Returns:
        the local batch api URL
      • getCoreApiBatchUser

        public java.lang.String getCoreApiBatchUser()
        Returns:
        the local batch api user, it should be an admin
      • getCoreApiBatchPassword

        public java.lang.String getCoreApiBatchPassword()
        Returns:
        the local batch api user password
      • getCoreApiBatchTrustStore

        public java.lang.String getCoreApiBatchTrustStore()
        Returns:
        the local batch api user password
      • getCoreApiBatchTrustStorePassword

        public java.lang.String getCoreApiBatchTrustStorePassword()
        Returns:
        the local batch api user password
      • getStorageProviderType

        public java.lang.String getStorageProviderType​(java.lang.String provider)
        Description copied from interface: ConfigurationAdapter
        gets the StorageProvider type which aligns with the StorageType
        Returns:
      • getStorageProviderValidBaseUrls

        public java.util.List<java.lang.String> getStorageProviderValidBaseUrls​(java.lang.String provider)
        Description copied from interface: ConfigurationAdapter
        gets the StorageProvider's valid base urls for HTTPS sources.
        Returns:
      • getStorageProviderBucketName

        public java.lang.String getStorageProviderBucketName​(java.lang.String provider)
        Description copied from interface: ConfigurationAdapter
        gets the StorageProvider's bucket name for cos sources.
        Returns:
      • getStorageProviderLocation

        public java.lang.String getStorageProviderLocation​(java.lang.String provider)
        Description copied from interface: ConfigurationAdapter
        gets the location of the cos endpoint.
        Returns:
      • getStorageProviderEndpointInternal

        public java.lang.String getStorageProviderEndpointInternal​(java.lang.String provider)
        Description copied from interface: ConfigurationAdapter
        get the internal endpoint for the storage provider.
        Returns:
      • getStorageProviderEndpointExternal

        public java.lang.String getStorageProviderEndpointExternal​(java.lang.String provider)
        Description copied from interface: ConfigurationAdapter
        get the external endpoint for the storage provider.
        Returns:
      • getStorageProviderAuthType

        public java.lang.String getStorageProviderAuthType​(java.lang.String provider)
        Returns:
      • isStorageProviderAuthTypeIam

        public boolean isStorageProviderAuthTypeIam​(java.lang.String provider)
        Returns:
      • getStorageProviderAuthTypeIamApiKey

        public java.lang.String getStorageProviderAuthTypeIamApiKey​(java.lang.String provider)
        Returns:
      • getStorageProviderAuthTypeIamApiResourceInstanceId

        public java.lang.String getStorageProviderAuthTypeIamApiResourceInstanceId​(java.lang.String provider)
        Returns:
      • isStorageProviderAuthTypeHmac

        public boolean isStorageProviderAuthTypeHmac​(java.lang.String provider)
        Returns:
      • getStorageProviderAuthTypeHmacAccessKey

        public java.lang.String getStorageProviderAuthTypeHmacAccessKey​(java.lang.String provider)
        Returns:
      • getStorageProviderAuthTypeHmacSecretKey

        public java.lang.String getStorageProviderAuthTypeHmacSecretKey​(java.lang.String provider)
        Returns:
      • isStorageProviderAuthTypeBasic

        public boolean isStorageProviderAuthTypeBasic​(java.lang.String provider)
        Returns:
      • getStorageProviderAuthTypeUsername

        public java.lang.String getStorageProviderAuthTypeUsername​(java.lang.String provider)
        Returns:
      • getStorageProviderAuthTypePassword

        public java.lang.String getStorageProviderAuthTypePassword​(java.lang.String provider)
        Returns:
      • shouldStorageProviderValidateBaseUrl

        public boolean shouldStorageProviderValidateBaseUrl​(java.lang.String provider)
        Returns:
      • shouldStorageProviderCollectOperationOutcomes

        public boolean shouldStorageProviderCollectOperationOutcomes​(java.lang.String provider)
        Returns:
      • shouldStorageProviderCheckDuplicate

        public boolean shouldStorageProviderCheckDuplicate​(java.lang.String provider)
        Returns:
      • shouldStorageProviderValidateResources

        public boolean shouldStorageProviderValidateResources​(java.lang.String provider)
        Returns:
      • shouldStorageProviderCreate

        public boolean shouldStorageProviderCreate​(java.lang.String provider)
        Returns:
      • isFastExport

        public boolean isFastExport()
        Description copied from interface: ConfigurationAdapter
        indicating if it's the new fast export
        Returns:
      • getStorageProviderUsesRequestAccessToken

        public boolean getStorageProviderUsesRequestAccessToken​(java.lang.String provider)
        Description copied from interface: ConfigurationAdapter
        reports back to the client if the StorageProvider supports requestAccessTokens
        Returns:
      • shouldStorageProviderAllowAllResources

        public boolean shouldStorageProviderAllowAllResources​(java.lang.String provider)
        Description copied from interface: ConfigurationAdapter
        allows multiple resources in a single file.
        Returns: