コード例 #1
0
ファイル: JGroupsModel.java プロジェクト: Emmanuel35/wildfly
 /**
  * Indicates whether this model is more recent than the specified version and thus requires
  * transformation
  *
  * @param version a model version
  * @return true this this model is more recent than the specified version, false otherwise
  */
 public boolean requiresTransformation(ModelVersion version) {
   return ModelVersion.compare(this.version, version) < 0;
 }
コード例 #2
0
ファイル: Model.java プロジェクト: antonisvarsamis/wildfly
 /**
  * Indicates whether this model is more recent than the specified version and thus requires
  * transformation
  *
  * @param version a model version
  * @return true this this model is more recent than the specified version, false otherwise
  */
 default boolean requiresTransformation(ModelVersion version) {
   return ModelVersion.compare(this.getVersion(), version) < 0;
 }