Class GitHubSCMSourcesLocalStorage
- java.lang.Object
-
- com.github.kostyasha.github.integration.multibranch.action.GitHubSCMSourcesLocalStorage
-
-
Field Summary
Fields Modifier and Type Field Description protected PersistenceRoot
project
-
Constructor Summary
Constructors Constructor Description GitHubSCMSourcesLocalStorage(PersistenceRoot project, String sourceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlFile
getConfigFile()
GitHubRepo
getLocalRepo()
void
load()
void
save()
void
saveQuietly()
-
-
-
Field Detail
-
project
@NonNull protected transient PersistenceRoot project
-
-
Constructor Detail
-
GitHubSCMSourcesLocalStorage
public GitHubSCMSourcesLocalStorage(@NonNull PersistenceRoot project, @NonNull String sourceId)
-
-
Method Detail
-
getLocalRepo
public GitHubRepo getLocalRepo()
-
getConfigFile
public XmlFile getConfigFile()
-
saveQuietly
public void saveQuietly()
-
save
public void save() throws IOException
- Specified by:
save
in interfaceSaveable
- Throws:
IOException
-
load
public void load() throws IOException
- Throws:
IOException
-
-