public class ProjectService extends Object
| Constructor and Description |
|---|
ProjectService(net.thevpc.nuts.NutsApplicationContext context,
RepositoryAddress defaultRepositoryAddress,
net.thevpc.nuts.NutsPath file) |
ProjectService(net.thevpc.nuts.NutsApplicationContext context,
RepositoryAddress defaultRepositoryAddress,
ProjectConfig config) |
| Modifier and Type | Method and Description |
|---|---|
String |
detectLocalVersion() |
File |
detectLocalVersionFile(String sid) |
String |
detectRemoteVersion() |
File |
detectRemoteVersionFile(String sid) |
ProjectConfig |
getConfig() |
net.thevpc.nuts.NutsPath |
getConfigFile() |
net.thevpc.nuts.NutsDescriptor |
getPom() |
boolean |
load() |
ProjectConfig |
rebuildProjectMetadata() |
void |
save() |
boolean |
updateProjectMetadata() |
public ProjectService(net.thevpc.nuts.NutsApplicationContext context,
RepositoryAddress defaultRepositoryAddress,
net.thevpc.nuts.NutsPath file)
throws IOException
IOExceptionpublic ProjectService(net.thevpc.nuts.NutsApplicationContext context,
RepositoryAddress defaultRepositoryAddress,
ProjectConfig config)
public ProjectConfig getConfig()
public boolean updateProjectMetadata()
throws IOException
IOExceptionpublic net.thevpc.nuts.NutsPath getConfigFile()
public void save()
throws IOException
IOExceptionpublic boolean load()
public net.thevpc.nuts.NutsDescriptor getPom()
public ProjectConfig rebuildProjectMetadata()
public String detectLocalVersion()
public String detectRemoteVersion()
Copyright © 2022 vpc open source initiative. All rights reserved.