public class GitPersistenceService extends Object implements PersistenceService
Blog: http://blog.didispace.com/ Github: https://github.com/dyc87112/
| 构造器和说明 |
|---|
GitPersistenceService() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deletePropertiesByEnv(String profile) |
void |
deletePropertiesByLabel(Label label) |
void |
deletePropertiesByProject(String application) |
void |
deletePropertiesByProjectAndEnv(String application,
String profile) |
void |
deletePropertiesByProjectAndEnvAndLabel(String application,
String profile,
String label) |
Properties |
readProperties(String application,
String profile,
String label) |
void |
saveProperties(String application,
String profile,
String label,
Properties update) |
void |
updateProfileName(String oldName,
String newName) |
public Properties readProperties(String application, String profile, String label)
readProperties 在接口中 PersistenceServicepublic void deletePropertiesByEnv(String profile)
deletePropertiesByEnv 在接口中 PersistenceServicepublic void deletePropertiesByProject(String application)
deletePropertiesByProject 在接口中 PersistenceServicepublic void deletePropertiesByProjectAndEnv(String application, String profile)
public void deletePropertiesByLabel(Label label)
deletePropertiesByLabel 在接口中 PersistenceServicepublic void deletePropertiesByProjectAndEnvAndLabel(String application, String profile, String label)
public void saveProperties(String application, String profile, String label, Properties update)
saveProperties 在接口中 PersistenceServicepublic void updateProfileName(String oldName, String newName)
updateProfileName 在接口中 PersistenceServiceCopyright © 2018. All rights reserved.