1 package org.kuali.common.util.file.model;
2
3 import org.kuali.common.util.Assert;
4
5 public final class RepoFile {
6
7 public RepoFile(String path, long size) {
8 Assert.noBlanks(path);
9 Assert.isTrue(size >= 0, "size is negative");
10 this.path = path;
11 this.size = size;
12 }
13
14 private final String path;
15 private final long size;
16
17 public String getPath() {
18 return path;
19 }
20
21 public long getSize() {
22 return size;
23 }
24
25 }