-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
addonis1990
committed
Jul 3, 2015
1 parent
6bc07b9
commit 60dc649
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
src/main/java/org/jboss/forge/addon/dbma/changelog/ChangelogFileResource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* Copyright 2015 Red Hat, Inc. and/or its affiliates. | ||
* | ||
* Licensed under the Eclipse Public License version 1.0, available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
package org.jboss.forge.addon.dbma.changelog; | ||
|
||
import org.jboss.forge.addon.resource.FileResource; | ||
|
||
/** | ||
* @author <a href="mailto:wicem.zrelly@gmail.com">Wissem Zrelli</a> | ||
* | ||
*/ | ||
public interface ChangelogFileResource extends FileResource<ChangelogFileResource> | ||
{ | ||
|
||
} |
33 changes: 33 additions & 0 deletions
33
src/main/java/org/jboss/forge/addon/dbma/changelog/ChangelogGenerator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/** | ||
* Copyright 2015 Red Hat, Inc. and/or its affiliates. | ||
* | ||
* Licensed under the Eclipse Public License version 1.0, available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
package org.jboss.forge.addon.dbma.changelog; | ||
|
||
import org.jboss.forge.addon.resource.FileResource; | ||
|
||
/** | ||
* This will handle initial generation of the changelog file | ||
* @author <a href="mailto:wicem.zrelly@gmail.com">Wissem Zrelli</a> | ||
* | ||
*/ | ||
public interface ChangelogGenerator | ||
{ | ||
/** | ||
* | ||
* @return an empty {@link ChangelogFileResource} | ||
*/ | ||
public ChangelogFileResource generateEmptyChangelog(); | ||
|
||
/** | ||
* | ||
* @return a {@link ChangelogFileResource} from the database | ||
*/ | ||
public ChangelogFileResource generateChangelogFromDatabase(); | ||
|
||
|
||
|
||
|
||
} |