-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added private repository support (personal access token)
- Loading branch information
Dimitris
committed
Apr 14, 2022
1 parent
b727b7a
commit 4669c9f
Showing
6 changed files
with
75 additions
and
8 deletions.
There are no files selected for viewing
Binary file not shown.
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
57 changes: 57 additions & 0 deletions
57
src/main/java/gr/zisis/interestapi/domain/AnalysisInfo.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,57 @@ | ||
package gr.zisis.interestapi.domain; | ||
|
||
import java.util.Objects; | ||
|
||
/* | ||
* | ||
* * Copyright (C) 2021 UoM - University of Macedonia | ||
* * | ||
* * 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 | ||
* | ||
*/ | ||
|
||
public class AnalysisInfo { | ||
|
||
private String url; | ||
private String token; | ||
|
||
public AnalysisInfo() { } | ||
|
||
public AnalysisInfo(String url, String token) { | ||
this.url = url; | ||
this.token = token; | ||
} | ||
|
||
public String getUrl() { | ||
return url; | ||
} | ||
|
||
public void setUrl(String url) { | ||
this.url = url; | ||
} | ||
|
||
public String getToken() { | ||
return token; | ||
} | ||
|
||
public void setToken(String token) { | ||
this.token = token; | ||
} | ||
|
||
@Override | ||
public boolean equals(Object o) { | ||
if (this == o) return true; | ||
if (o == null || getClass() != o.getClass()) return false; | ||
AnalysisInfo that = (AnalysisInfo) o; | ||
return Objects.equals(url, that.url) && Objects.equals(token, that.token); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(url, token); | ||
} | ||
} |
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