From 18c8984a33f567ed3f50a0c8051bf7097fa7e7c8 Mon Sep 17 00:00:00 2001 From: Toshiya Kobayashi Date: Wed, 8 Nov 2023 17:14:29 +0900 Subject: [PATCH] bring back FactData.java --- .github/workflows/pr-drools.yml | 2 +- .../src/test/java/com/sample/FactData.java | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 drools-decisiontables/src/test/java/com/sample/FactData.java diff --git a/.github/workflows/pr-drools.yml b/.github/workflows/pr-drools.yml index ff42bdbf9c6..6b4cc9786a0 100644 --- a/.github/workflows/pr-drools.yml +++ b/.github/workflows/pr-drools.yml @@ -42,7 +42,7 @@ jobs: - name: Build Chain uses: apache/incubator-kie-kogito-pipelines/.ci/actions/build-chain@main env: - BUILD_MVN_OPTS_CURRENT: -Dfull -X + BUILD_MVN_OPTS_CURRENT: -X with: definition-file: https://raw.githubusercontent.com/${GROUP:apache}/incubator-kie-drools/${BRANCH:main}/.ci/buildchain-config.yaml annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }} diff --git a/drools-decisiontables/src/test/java/com/sample/FactData.java b/drools-decisiontables/src/test/java/com/sample/FactData.java new file mode 100644 index 00000000000..c6b567e84d0 --- /dev/null +++ b/drools-decisiontables/src/test/java/com/sample/FactData.java @@ -0,0 +1,44 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package com.sample; + +/** + * ファクト + */ +public class FactData { + + private int 値; + private String エラーメッセージ; + + public int get値() { + return this.値; + } + + public void set値(int 値) { + this.値 = 値; + } + + public String getエラーメッセージ() { + return this.エラーメッセージ; + } + + public void setエラーメッセージ(String エラーメッセージ) { + this.エラーメッセージ = エラーメッセージ; + } +}