Skip to content

Commit 4c5f63b

Browse files
committed
chore: Add deprecation messages to service classes
1 parent 1138dcb commit 4c5f63b

File tree

13 files changed

+52
-0
lines changed

13 files changed

+52
-0
lines changed

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/Assistant.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,11 @@
9595
*
9696
* @version v1
9797
* @see <a href="http://www.ibm.com/watson/developercloud/assistant.html">Assistant</a>
98+
* @deprecated For v7.x.x and beyond, the Java SDK will be available at com.ibm.watson:ibm-watson. To get updates,
99+
* please use this new location. See the SDK GitHub repository for more information:
100+
* https://github.com/watson-developer-cloud/java-sdk
98101
*/
102+
@Deprecated
99103
public class Assistant extends WatsonService {
100104

101105
private static final String SERVICE_NAME = "assistant";

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v2/Assistant.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@
3232
*
3333
* @version v2
3434
* @see <a href="http://www.ibm.com/watson/developercloud/assistant.html">Assistant</a>
35+
* @deprecated For v7.x.x and beyond, the Java SDK will be available at com.ibm.watson:ibm-watson. To get updates,
36+
* please use this new location. See the SDK GitHub repository for more information:
37+
* https://github.com/watson-developer-cloud/java-sdk
3538
*/
39+
@Deprecated
3640
public class Assistant extends WatsonService {
3741

3842
private static final String SERVICE_NAME = "assistant";

compare-comply/src/main/java/com/ibm/watson/developer_cloud/compare_comply/v1/CompareComply.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@
5151
*
5252
* @version v1
5353
* @see <a href="http://www.ibm.com/watson/developercloud/compare-comply.html">Compare Comply</a>
54+
* @deprecated For v7.x.x and beyond, the Java SDK will be available at com.ibm.watson:ibm-watson. To get updates,
55+
* please use this new location. See the SDK GitHub repository for more information:
56+
* https://github.com/watson-developer-cloud/java-sdk
5457
*/
58+
@Deprecated
5559
public class CompareComply extends WatsonService {
5660

5761
private static final String SERVICE_NAME = "compare_comply";

core/src/main/java/com/ibm/watson/developer_cloud/service/WatsonService.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@
6161
* Watson service abstract common functionality of various Watson Services. It handle authentication and default url.
6262
*
6363
* @see <a href="http://www.ibm.com/watson/developercloud/"> IBM Watson Developer Cloud</a>
64+
* @deprecated For v7.x.x and beyond, the Java SDK will be available at com.ibm.watson:ibm-watson. To get updates,
65+
* please use this new location. See the SDK GitHub repository for more information:
66+
* https://github.com/watson-developer-cloud/java-sdk
6467
*/
68+
@Deprecated
6569
public abstract class WatsonService {
6670

6771
private static final String URL = "url";

discovery/src/main/java/com/ibm/watson/developer_cloud/discovery/v1/Discovery.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,11 @@
125125
*
126126
* @version v1
127127
* @see <a href="http://www.ibm.com/watson/developercloud/discovery.html">Discovery</a>
128+
* @deprecated For v7.x.x and beyond, the Java SDK will be available at com.ibm.watson:ibm-watson. To get updates,
129+
* please use this new location. See the SDK GitHub repository for more information:
130+
* https://github.com/watson-developer-cloud/java-sdk
128131
*/
132+
@Deprecated
129133
public class Discovery extends WatsonService {
130134

131135
private static final String SERVICE_NAME = "discovery";

language-translator/src/main/java/com/ibm/watson/developer_cloud/language_translator/v3/LanguageTranslator.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@
4444
*
4545
* @version v3
4646
* @see <a href="http://www.ibm.com/watson/developercloud/language-translator.html">Language Translator</a>
47+
* @deprecated For v7.x.x and beyond, the Java SDK will be available at com.ibm.watson:ibm-watson. To get updates,
48+
* please use this new location. See the SDK GitHub repository for more information:
49+
* https://github.com/watson-developer-cloud/java-sdk
4750
*/
51+
@Deprecated
4852
public class LanguageTranslator extends WatsonService {
4953

5054
private static final String SERVICE_NAME = "language_translator";

natural-language-classifier/src/main/java/com/ibm/watson/developer_cloud/natural_language_classifier/v1/NaturalLanguageClassifier.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@
4848
* @version v1
4949
* @see <a href="http://www.ibm.com/watson/developercloud/natural-language-classifier.html">Natural Language
5050
* Classifier</a>
51+
* @deprecated For v7.x.x and beyond, the Java SDK will be available at com.ibm.watson:ibm-watson. To get updates,
52+
* please use this new location. See the SDK GitHub repository for more information:
53+
* https://github.com/watson-developer-cloud/java-sdk
5154
*/
55+
@Deprecated
5256
public class NaturalLanguageClassifier extends WatsonService {
5357

5458
private static final String SERVICE_NAME = "natural_language_classifier";

natural-language-understanding/src/main/java/com/ibm/watson/developer_cloud/natural_language_understanding/v1/NaturalLanguageUnderstanding.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@
3737
* @version v1
3838
* @see <a href="http://www.ibm.com/watson/developercloud/natural-language-understanding.html">Natural Language
3939
* Understanding</a>
40+
* @deprecated For v7.x.x and beyond, the Java SDK will be available at com.ibm.watson:ibm-watson. To get updates,
41+
* please use this new location. See the SDK GitHub repository for more information:
42+
* https://github.com/watson-developer-cloud/java-sdk
4043
*/
44+
@Deprecated
4145
public class NaturalLanguageUnderstanding extends WatsonService {
4246

4347
private static final String SERVICE_NAME = "natural_language_understanding";

personality-insights/src/main/java/com/ibm/watson/developer_cloud/personality_insights/v3/PersonalityInsights.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@
4343
*
4444
* @version v3
4545
* @see <a href="http://www.ibm.com/watson/developercloud/personality-insights.html">Personality Insights</a>
46+
* @deprecated For v7.x.x and beyond, the Java SDK will be available at com.ibm.watson:ibm-watson. To get updates,
47+
* please use this new location. See the SDK GitHub repository for more information:
48+
* https://github.com/watson-developer-cloud/java-sdk
4649
*/
50+
@Deprecated
4751
public class PersonalityInsights extends WatsonService {
4852

4953
private static final String SERVICE_NAME = "personality_insights";

speech-to-text/src/main/java/com/ibm/watson/developer_cloud/speech_to_text/v1/SpeechToText.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,11 @@
108108
*
109109
* @version v1
110110
* @see <a href="http://www.ibm.com/watson/developercloud/speech-to-text.html">Speech to Text</a>
111+
* @deprecated For v7.x.x and beyond, the Java SDK will be available at com.ibm.watson:ibm-watson. To get updates,
112+
* please use this new location. See the SDK GitHub repository for more information:
113+
* https://github.com/watson-developer-cloud/java-sdk
111114
*/
115+
@Deprecated
112116
public class SpeechToText extends WatsonService {
113117

114118
private static final String SERVICE_NAME = "speech_to_text";

0 commit comments

Comments
 (0)