-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #620 from zinggAI/issue607_1
additional methods
- Loading branch information
Showing
2 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
20 changes: 18 additions & 2 deletions
20
common/client/src/main/java/zingg/common/client/license/ILicenseValidator.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 |
---|---|---|
@@ -1,9 +1,25 @@ | ||
package zingg.common.client.license; | ||
|
||
import java.util.Properties; | ||
|
||
public interface ILicenseValidator { | ||
|
||
public String getName(); | ||
|
||
public boolean validate(); | ||
|
||
public Properties getLicenseProps(); | ||
|
||
public void setLicenseProps(Properties licenseProps); | ||
|
||
public String getKey(); | ||
|
||
public void setKey(String key); | ||
|
||
public String getValToCheck(); | ||
|
||
public void setValToCheck(String valToCheck); | ||
|
||
public String getName(); | ||
|
||
public void setName(String name); | ||
|
||
} |
5 changes: 4 additions & 1 deletion
5
common/client/src/main/java/zingg/common/client/license/IZinggLicense.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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
package zingg.common.client.license; | ||
|
||
import java.util.Properties; | ||
|
||
public interface IZinggLicense { | ||
|
||
public ILicenseValidator getValidator(String name); | ||
|
||
|
||
public Properties getLicenseProps(); | ||
|
||
} |