Started working on Specification pattern.
This commit is contained in:
		
							
								
								
									
										1
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -51,6 +51,7 @@ | |||||||
| 		<module>poison-pill</module> | 		<module>poison-pill</module> | ||||||
|     <module>lazy-loading</module> |     <module>lazy-loading</module> | ||||||
|     <module>service-layer</module> |     <module>service-layer</module> | ||||||
|  |     <module>specification</module> | ||||||
|   </modules> |   </modules> | ||||||
|  |  | ||||||
| 	<dependencyManagement> | 	<dependencyManagement> | ||||||
|   | |||||||
							
								
								
									
										18
									
								
								specification/pom.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								specification/pom.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | |||||||
|  | <?xml version="1.0"?> | ||||||
|  | <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | ||||||
|  |     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||||
|  |   <modelVersion>4.0.0</modelVersion> | ||||||
|  |   <parent> | ||||||
|  |     <groupId>com.iluwatar</groupId> | ||||||
|  |     <artifactId>java-design-patterns</artifactId> | ||||||
|  |     <version>1.0-SNAPSHOT</version> | ||||||
|  |   </parent> | ||||||
|  |   <artifactId>specification</artifactId> | ||||||
|  |   <dependencies> | ||||||
|  |     <dependency> | ||||||
|  |       <groupId>junit</groupId> | ||||||
|  |       <artifactId>junit</artifactId> | ||||||
|  |       <scope>test</scope> | ||||||
|  |     </dependency> | ||||||
|  |   </dependencies> | ||||||
|  | </project> | ||||||
							
								
								
									
										6
									
								
								specification/src/main/java/com/iluwatar/App.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								specification/src/main/java/com/iluwatar/App.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | |||||||
|  | package com.iluwatar; | ||||||
|  |  | ||||||
|  | public class App { | ||||||
|  |     public static void main( String[] args ) { | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										12
									
								
								specification/src/test/java/com/iluwatar/AppTest.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								specification/src/test/java/com/iluwatar/AppTest.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | |||||||
|  | package com.iluwatar; | ||||||
|  |  | ||||||
|  | import org.junit.Test; | ||||||
|  |  | ||||||
|  | public class AppTest { | ||||||
|  |  | ||||||
|  | 	@Test | ||||||
|  | 	public void test() { | ||||||
|  | 		String[] args = {}; | ||||||
|  | 		App.main(args); | ||||||
|  | 	} | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user