Skip to content

Commit 64e935e

Browse files
appium#319 fix: The work has been started.
Old server flags were marked deprecated.
1 parent ffb093d commit 64e935e

4 files changed

Lines changed: 17 additions & 0 deletions

File tree

src/main/java/io/appium/java_client/service/local/flags/AndroidServerFlag.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@
1616

1717
package io.appium.java_client.service.local.flags;
1818

19+
@Deprecated
1920
/**
2021
* Here is the list of Android specific server arguments.
2122
* All flags are optional, but some are required in conjunction with certain others.
2223
* The full list is available here: http://appium.io/slate/en/master/?ruby#appium-server-arguments
2324
* Android specific arguments are marked by (Android-only)
25+
*
26+
* This flags are deprecated since appium node 1.5.x. This list will be removed in the next release.
27+
* Be careful.
2428
*/
2529
public enum AndroidServerFlag implements ServerArgument{
2630
/**

src/main/java/io/appium/java_client/service/local/flags/GeneralServerFlag.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,15 @@
1616

1717
package io.appium.java_client.service.local.flags;
1818

19+
@Deprecated
1920
/**
2021
* Here is the list of common Appium server arguments.
2122
* All flags are optional, but some are required in conjunction with certain others.
2223
* The full list is available here: @link http://appium.io/slate/en/master/?ruby#appium-server-arguments
24+
*
25+
*
26+
* This flags are deprecated since appium node 1.5.x. This list will be removed in the next release.
27+
* Be careful.
2328
*/
2429
public enum GeneralServerFlag implements ServerArgument{
2530
/**

src/main/java/io/appium/java_client/service/local/flags/IOSServerFlag.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@
1616

1717
package io.appium.java_client.service.local.flags;
1818

19+
@Deprecated
1920
/**
2021
* Here is the list of iOS specific server arguments.
2122
* All flags are optional, but some are required in conjunction with certain others.
2223
* The full list is available here: http://appium.io/slate/en/master/?ruby#appium-server-arguments
2324
* iOS specific arguments are marked by (IOS-only)
25+
*
26+
* This flags are deprecated since appium node 1.5.x. This list will be removed in the next release.
27+
* Be careful.
2428
*/
2529
public enum IOSServerFlag implements ServerArgument{
2630
/**

src/main/java/io/appium/java_client/service/local/flags/ServerArgument.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616

1717
package io.appium.java_client.service.local.flags;
1818

19+
@Deprecated
20+
/**
21+
* This interface is going to removed further. Be careful.
22+
*/
1923
public interface ServerArgument {
2024
String getArgument();
2125
}

0 commit comments

Comments
 (0)