-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1341 update java client library feature flag methods
- Loading branch information
Showing
6 changed files
with
132 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ | |
.dccache | ||
node_modules | ||
.vscode | ||
setup_upgrade.sh | ||
setup_upgrade.sh | ||
.idea | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
clientlibs/java/src/main/java/org/upgradeplatform/requestbeans/FeatureFlagsRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package org.upgradeplatform.requestbeans; | ||
|
||
public class FeatureFlagsRequest { | ||
private String userId; | ||
private String context; | ||
|
||
public FeatureFlagsRequest() {} | ||
|
||
public FeatureFlagsRequest(String userId, String context) { | ||
this.userId = userId; | ||
this.context = context; | ||
} | ||
|
||
public String getContext() { | ||
return context; | ||
} | ||
|
||
public void setContext(String context) { | ||
this.context = context; | ||
} | ||
|
||
public String getUserId() { | ||
return userId; | ||
} | ||
|
||
public void setUserId(String userId) { | ||
this.userId = userId; | ||
} | ||
} |
Oops, something went wrong.