クラス Violations
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.modulith.core.Violations
- 実装済みのインターフェース一覧:
SerializableSE
アーキテクチャ違反を収集して報告するための値の型。
- 作成者:
- Oliver Drotbohm
- 関連事項:
フィールド概要
フィールド方法の概要
修飾子と型メソッド説明(package private) Violations(package private) Violations(package private) Violationsand(Violations that) filter(PredicateSE<Violation> filter) 指定されたPredicateSE に一致するViolationsを返します。すべての違反メッセージを返します。boolean利用可能な違反があるかどうかを返します。void空のインスタンスでない場合は、それ自体をスローします。(package private) static CollectorSE<StringSE,?, Violations> クラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
フィールドの詳細
NONE
方法の詳細
toViolations
- 戻り値:
- null になることはありません。
getMessage
- オーバーライド:
- クラス
ThrowableSEのgetMessage
getMessages
すべての違反メッセージを返します。- 戻り値:
- null になることはありません。
- 導入:
- 1.1
hasViolations
public boolean hasViolations()利用可能な違反があるかどうかを返します。- 戻り値:
throwIfPresent
public void throwIfPresent()空のインスタンスでない場合は、それ自体をスローします。filter
指定されたPredicateSE に一致するViolationsを返します。- パラメーター:
filter- null であってはなりません。- 戻り値:
and
- パラメーター:
violation- null であってはなりません。- 戻り値:
and
and