-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate Integrity metadata in repo-meta-analyzer (#835)
- Loading branch information
1 parent
2e7eeb9
commit 9b8ff65
Showing
20 changed files
with
1,047 additions
and
139 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
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
67 changes: 67 additions & 0 deletions
67
repository-meta-analyzer/src/main/java/org/hyades/model/IntegrityMeta.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,67 @@ | ||
package org.hyades.model; | ||
|
||
import java.io.Serializable; | ||
import java.util.Date; | ||
|
||
public class IntegrityMeta implements Serializable { | ||
|
||
private String md5; | ||
|
||
private String sha1; | ||
|
||
private String sha256; | ||
|
||
private String sha512; | ||
|
||
private Date currentVersionLastModified; | ||
|
||
private String metaSourceUrl; | ||
|
||
public String getMd5() { | ||
return md5; | ||
} | ||
|
||
public void setMd5(String md5) { | ||
this.md5 = md5; | ||
} | ||
|
||
public String getSha1() { | ||
return sha1; | ||
} | ||
|
||
public void setSha1(String sha1) { | ||
this.sha1 = sha1; | ||
} | ||
|
||
public String getSha256() { | ||
return sha256; | ||
} | ||
|
||
public void setSha256(String sha256) { | ||
this.sha256 = sha256; | ||
} | ||
|
||
public Date getCurrentVersionLastModified() { | ||
return currentVersionLastModified; | ||
} | ||
|
||
public void setCurrentVersionLastModified(Date currentVersionLastModified) { | ||
this.currentVersionLastModified = currentVersionLastModified; | ||
} | ||
|
||
public void setSha512(String sha512) { | ||
this.sha512 = sha512; | ||
} | ||
|
||
public String getSha512() { | ||
return sha512; | ||
} | ||
|
||
public String getMetaSourceUrl() { | ||
return metaSourceUrl; | ||
} | ||
|
||
public void setMetaSourceUrl(String metaSourceUrl) { | ||
this.metaSourceUrl = metaSourceUrl; | ||
} | ||
} |
Oops, something went wrong.