Package com.helger.phase4.incoming.mgr
Class AS4ProfileSelector
java.lang.Object
com.helger.phase4.incoming.mgr.AS4ProfileSelector
Static helper class for the fallback AS4 profile selection.
- Since:
- 0.9.13
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic StringGet the default AS4 profile ID to be used in the following order: FromgetCustomDefaultAS4ProfileID()from the configuration properties.static voidsetCustomDefaultAS4ProfileID(String sAS4ProfileID) Set the custom default AS4 profile ID.
-
Method Details
-
getCustomDefaultAS4ProfileID
- Returns:
- The custom default AS4 profile ID. Defaults to
null.
-
setCustomDefaultAS4ProfileID
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 benull.
-
getDefaultAS4ProfileID
Get the default AS4 profile ID to be used in the following order:- From
getCustomDefaultAS4ProfileID() - from the configuration properties.
- Returns:
- The AS4 profile ID to be used. May be
null.
- From
-