MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 7 as of 2018-09-28 14:49:55
  • Java
  • Lombok

Lombok

  • http://central.maven.org/maven2/org/projectlombok/lombok/1.16.20/lombok-1.16.20.jar

  • java -jar lombok-1.16.20.jar
  • Install in Eclipse folder
  • Add the lombok-1.16.20.jar to all projects

<dependency>
  <groupId>org.projectlombok</groupId>
  <artifactId>lombok</artifactId>
  <scope>provided</scope>
</dependency>

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;

@Getter
@Setter
// generate getters and setters
@AllArgsConstructor
// requires construtor for all args
@NoArgsConstructor
// construtor with no args
@NonNull
// null value not allowed to member
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01