public class Project extends Object implements Entity
| Modifier and Type | Field and Description |
|---|---|
String |
allowFromMask |
String |
name |
Path |
sourcePath |
| Constructor and Description |
|---|
Project(String corpusName) |
Project(String corpusName,
Path sourcePath) |
Project(String corpusName,
Path source,
String allowFromMask) |
Project(String corpusName,
String allowFromMask) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId() |
String |
getName() |
Path |
getSourcePath() |
int |
hashCode() |
boolean |
isAllowed(InetSocketAddress socketAddress) |
static boolean |
isAllowed(Project project,
InetSocketAddress socketAddress) |
static Project |
project(String projectName) |
String |
toString() |
public final String name
public final Path sourcePath
public final String allowFromMask
public Project(String corpusName)
public boolean isAllowed(InetSocketAddress socketAddress)
public static boolean isAllowed(Project project, InetSocketAddress socketAddress)
public String getName()
public Path getSourcePath()
Copyright © 2020 ICIJ. All rights reserved.