Hi all ,
I was trying to move the exact functionality in
*org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer.undeployAllArtifactsOfAppFromDepSyncGitRepo()*
to
*org.wso2.carbon.appfactory.deployers.AbstractDeployer.unDeployArtifact()*

while working on *unDeployArtifact()* i need to access some more methods
inside *ApplicationDeployer* class, which are private.
those are     : getRepositoryProviderAdminUser()
                      getRepositoryProviderAdminPassword()
                      getGitRepoUrlForTenant()
                      getServerDeploymentPaths()
                      getFilesToDelete()

What kind of approach should I follow ?

1. Make above methods public and use them.
2. Implement same methods inside AbstactDeployer class and use them.

FYI : *AbstractDeployer* class is implemented from *Deployer* interface and
currently it has following methods.
deployTaggedArtifact
deployLatestSuccessArtifact
deployPromotedArtifact
unDeployArtifact
handleException

Thanks
-- 
*Mahesh Chinthaka Vidanagama* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 63 63 083 | Work: +94 112 145 345
Email: [email protected] | Web: www.wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to