Class AS4ProfileSelector

java.lang.Object
com.helger.phase4.incoming.mgr.AS4ProfileSelector

@ThreadSafe public final class AS4ProfileSelector extends Object
Static helper class for the fallback AS4 profile selection.
Since:
0.9.13
Author:
Philip Helger
  • Method Details

    • getCustomDefaultAS4ProfileID

      @Nullable public static String getCustomDefaultAS4ProfileID()
      Returns:
      The custom default AS4 profile ID. Defaults to null.
    • setCustomDefaultAS4ProfileID

      public static void setCustomDefaultAS4ProfileID(@Nullable String sAS4ProfileID)
      Set the custom default AS4 profile ID. This has precedence over the configured AS4 default profile ID, to allow for a runtime change.
      Parameters:
      sAS4ProfileID - The AS4 profile ID to set. May be null.
    • getDefaultAS4ProfileID

      @Nullable public static String getDefaultAS4ProfileID()
      Get the default AS4 profile ID to be used in the following order:
      1. From getCustomDefaultAS4ProfileID()
      2. from the configuration properties.
      Returns:
      The AS4 profile ID to be used. May be null.