]>
git.argeo.org Git - gpl/argeo-slc.git/blob - argeo/slc/rpmfactory/RpmFactory.java
1 package org
.argeo
.slc
.rpmfactory
;
9 * Defines a build environment. This information is typically used by other
10 * components performing the various actions related to RPM build.
12 public interface RpmFactory
{
14 // DIRECT ACTIONS ON JCR REPOSITORY
16 public void indexWorkspace(String workspace
);
18 public Node
newDistribution(String distributionId
);
21 // CONFIG FILES GENERATION
23 /** Creates a mock config file. */
24 public File
getMockConfigFile(String arch
, String branch
);
26 /** Creates a yum config file. */
27 public File
getYumRepoFile(String arch
);
32 public String
getStagingWorkspace();
35 * @return the name of the testing workspace, or null if and only if the
36 * testing workspace was not enabled.
38 public String
getTestingWorkspace();
40 public String
getStableWorkspace();
42 public File
getWorkspaceDir(String workspace
);
45 // ARCH DEPENDENT INFOS
47 public List
<String
> getArchs();
49 public String
getMockConfig(String arch
);
51 public String
getIdWithArch(String arch
);
53 public File
getResultDir(String arch
);
58 public String
getGitBaseUrl();
60 public Boolean
isDeveloperInstance();