Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 565143 - [Passage] floating licensing
ConditionIdentifier packed to a type, added licenses, renamed data classes Signed-off-by: Nikifor Fedorov <zelenyhleb@gmail.com>
- Loading branch information
1 parent
a9dc857
commit 00a2fef
Showing
18 changed files
with
153 additions
and
89 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
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
21 changes: 21 additions & 0 deletions
21
...eclipse.passage.lbc.api/src/org/eclipse/passage/lbc/internal/api/ConditionIdentifier.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,21 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2020 ArSysOp | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* https://www.eclipse.org/legal/epl-2.0/. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* ArSysOp - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.passage.lbc.internal.api; | ||
|
||
/** | ||
* @since 1.0 | ||
*/ | ||
public interface ConditionIdentifier { | ||
|
||
String identifier(); | ||
} |
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
50 changes: 0 additions & 50 deletions
50
...assage.lbc.base/src/org/eclipse/passage/lbc/internal/base/BaseCertificateRequestData.java
This file was deleted.
Oops, something went wrong.
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
42 changes: 42 additions & 0 deletions
42
....passage.lbc.base/src/org/eclipse/passage/lbc/internal/base/BaseRequestedCertificate.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,42 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2020 ArSysOp | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* https://www.eclipse.org/legal/epl-2.0/. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* ArSysOp - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.passage.lbc.internal.base; | ||
|
||
import org.eclipse.passage.lbc.internal.api.RequestedCertificate; | ||
import org.eclipse.passage.lbc.internal.api.Requester; | ||
import org.eclipse.passage.lic.internal.api.restrictions.ExaminationCertificate; | ||
|
||
/** | ||
* @since 1.0 | ||
*/ | ||
public final class BaseRequestedCertificate implements RequestedCertificate { | ||
|
||
private final Requester requester; | ||
private final ExaminationCertificate certificate; | ||
|
||
public BaseRequestedCertificate(ExaminationCertificate certificate, Requester requester) { | ||
this.requester = requester; | ||
this.certificate = certificate; | ||
} | ||
|
||
@Override | ||
public Requester requester() { | ||
return requester; | ||
} | ||
|
||
@Override | ||
public ExaminationCertificate certificate() { | ||
return certificate; | ||
} | ||
|
||
} |
12 changes: 12 additions & 0 deletions
12
...org.eclipse.passage.lbc.base/src/org/eclipse/passage/lbc/internal/base/BaseRequester.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
12 changes: 12 additions & 0 deletions
12
...e.passage.lbc.base/src/org/eclipse/passage/lbc/internal/base/BaseServerConfiguration.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
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
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
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
Oops, something went wrong.